diff --git a/following.html b/following.html
index aed4a8e..0122525 100644
--- a/following.html
+++ b/following.html
@@ -276,7 +276,7 @@
diff --git a/home.html b/home.html
index f70c372..b9ac963 100644
--- a/home.html
+++ b/home.html
@@ -370,7 +370,7 @@
diff --git a/js/interface_common.js b/js/interface_common.js
index 6f17f22..6d08428 100644
--- a/js/interface_common.js
+++ b/js/interface_common.js
@@ -1343,6 +1343,8 @@ function initInterfaceCommon() {
closeModal();
});
+ $('.modal-back').on('click', function() {history.back();});
+
$('.prompt-close').on('click', function(e) {
e.stopPropagation();
closeModalHandler('.prompt-wrapper');
@@ -1460,6 +1462,9 @@ $(document).ready(function()
initInterfaceLogin();
} else if (page.indexOf("network.html") === 0) {
initInterfaceNetwork();
+ } else if (page.indexOf('options.html') === 0) {
+ initInterfaceCommon();
+ $.Options.initControls();
} else if (page.indexOf("profile-edit.html") === 0) {
initProfileEdit();
}
diff --git a/js/twister_following.js b/js/twister_following.js
index 674a7bd..46c5b90 100644
--- a/js/twister_following.js
+++ b/js/twister_following.js
@@ -777,7 +777,7 @@ function processSwarmProgressFinal(lastHaves, numPieces)
}
}
}
- window.setTimeout("requestSwarmProgress();",2000);
+ window.setTimeout(requestSwarmProgress, 2000);
}
function followingChangedUser() {
diff --git a/options.html b/options.html
index 13e8f92..494e0bb 100644
--- a/options.html
+++ b/options.html
@@ -20,14 +20,6 @@
-
-