summaryrefslogtreecommitdiff
path: root/js/image-hover.js
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-03-03 15:04:23 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-03-03 15:04:23 +0900
commit21e7520caa453295159008145d44b767d460fb4f (patch)
tree25089a791e7001fd8e27fbdfb1c75bd0133d85c1 /js/image-hover.js
parent139176eaed2b13a9e212ad95f396dee39332e472 (diff)
Add overboard support to image-hover functionality.
Diffstat (limited to 'js/image-hover.js')
-rw-r--r--js/image-hover.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/image-hover.js b/js/image-hover.js
index 66e908d7..3e294d1c 100644
--- a/js/image-hover.js
+++ b/js/image-hover.js
@@ -5,7 +5,7 @@
* Thanks Pashe for using WTFPL.
*/
-if (active_page === "catalog" || active_page === "thread" || active_page === "index") {
+if (active_page === "catalog" || active_page === "thread" || active_page === "index" || active_page === "ukko") {
$(document).on('ready', function(){
if (window.Options && Options.get_tab('general')) {
@@ -59,6 +59,10 @@ function isOnThread() {
return window.active_page === "thread";
}
+function isOnUkko() {
+ return window.active_page === "ukko";
+}
+
function getSetting(key) {
return (localStorage[key] == 'true');
}