forked from leftypol/leftypol
Add overboard support to image-hover functionality.
This commit is contained in:
parent
a75427254a
commit
1164bf56ef
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
* Thanks Pashe for using WTFPL.
|
* 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(){
|
$(document).on('ready', function(){
|
||||||
|
|
||||||
if (window.Options && Options.get_tab('general')) {
|
if (window.Options && Options.get_tab('general')) {
|
||||||
|
@ -59,6 +59,10 @@ function isOnThread() {
|
||||||
return window.active_page === "thread";
|
return window.active_page === "thread";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isOnUkko() {
|
||||||
|
return window.active_page === "ukko";
|
||||||
|
}
|
||||||
|
|
||||||
function getSetting(key) {
|
function getSetting(key) {
|
||||||
return (localStorage[key] == 'true');
|
return (localStorage[key] == 'true');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue