Procházet zdrojové kódy

Add overboard support to image-hover functionality.

pull/89/head
Benjamin Southall před 7 roky
rodič
revize
21e7520caa
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. +5
    -1
      js/image-hover.js

+ 5
- 1
js/image-hover.js Zobrazit soubor

@@ -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');
}


Načítá se…
Zrušit
Uložit