From 74db3796ad4b19a17bd131952aada886e1402bbd Mon Sep 17 00:00:00 2001 From: nacho Date: Mon, 31 Dec 2018 08:34:32 -0700 Subject: fix URL links --- ncp-web/elements.php | 4 ++-- ncp-web/js/ncp.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'ncp-web') diff --git a/ncp-web/elements.php b/ncp-web/elements.php index 56446306..c018bc1e 100644 --- a/ncp-web/elements.php +++ b/ncp-web/elements.php @@ -130,7 +130,7 @@ function print_config_forms( $l /* translations l10n object */ )

$cfg[description]

$cfg[info]
- +

@@ -181,7 +181,7 @@ function print_sidebar( $l /* translations l10n object */, $ticks /* wether to c if (array_key_exists('app',$_GET) && $_GET['app'] == $ncp_app) $selected = "active"; $ret .= ""; } $ret .= ""; diff --git a/ncp-web/js/ncp.js b/ncp-web/js/ncp.js index c6c043ef..22ad43b8 100644 --- a/ncp-web/js/ncp.js +++ b/ncp-web/js/ncp.js @@ -151,8 +151,6 @@ function app_clicked(item) selectedID = item.get('.id'); item.set('+active'); $('#' + selectedID + '-config-box').show(); - var baseURL = 'https://github.com/nextcloud/nextcloudpi/wiki/Configuration-Reference#'; - $('#' + selectedID + '-config-box .icon-info').up().set( '@href', baseURL + selectedID ); } $(function() -- cgit v1.2.3