aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/js/main.js b/js/main.js
index c5f88b7..a717c49 100644
--- a/js/main.js
+++ b/js/main.js
@@ -15,6 +15,9 @@ $(document).ready(() => {
// Enable Tooltips
$('#helpAboutIcon, #titleLogo').tooltip();
+ // Enable history tracking for tabs
+ $('a[data-toggle="tab"]').historyTabs();
+
// Check if the page was loaded locally or over http and warn them about the value of https
if ((location.protocol == "http:") || (location.protocol == "file:")) {
if (localStorage.showHttpAlert == 'false') {
@@ -25,10 +28,6 @@ $(document).ready(() => {
}
}
- // Validation values to enable the Connect to Plex Button
- let validUrl = false;
- let validToken = false;
-
// Validation listeners on the Plex URL Input
$('#plexUrl').on("input", () => {
validateEnableConnectBtn('plexUrl');