Remove stale debug outputs
This commit is contained in:
parent
a7e06b0a69
commit
ea1071b994
|
@ -13,7 +13,7 @@ if (window.Options && Options.get_tab('general')) {
|
||||||
+ ("<label class='image-hover' id='imageHover'><input type='checkbox' /> "+_('Image hover')+"</label>")
|
+ ("<label class='image-hover' id='imageHover'><input type='checkbox' /> "+_('Image hover')+"</label>")
|
||||||
+ ("<label class='image-hover' id='catalogImageHover'><input type='checkbox' /> "+_('Image hover on catalog')+"</label>")
|
+ ("<label class='image-hover' id='catalogImageHover'><input type='checkbox' /> "+_('Image hover on catalog')+"</label>")
|
||||||
+ ("<label class='image-hover' id='imageHoverFollowCursor'><input type='checkbox' /> "+_('Image hover should follow cursor')+"</label>")
|
+ ("<label class='image-hover' id='imageHoverFollowCursor'><input type='checkbox' /> "+_('Image hover should follow cursor')+"</label>")
|
||||||
+ "</fieldset>");console.log("aaa");
|
+ "</fieldset>");
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.image-hover').on('change', function(){
|
$('.image-hover').on('change', function(){
|
||||||
|
@ -70,7 +70,7 @@ function initImageHover() { //Pashe, influenced by tux, et al, WTFPL
|
||||||
if (!getSetting("imageHover") && !getSetting("catalogImageHover")) {return;}
|
if (!getSetting("imageHover") && !getSetting("catalogImageHover")) {return;}
|
||||||
|
|
||||||
var selectors = [];
|
var selectors = [];
|
||||||
console.log("image-hover");
|
|
||||||
if (getSetting("imageHover")) {selectors.push("img.post-image", "canvas.post-image");}
|
if (getSetting("imageHover")) {selectors.push("img.post-image", "canvas.post-image");}
|
||||||
if (getSetting("catalogImageHover") && isOnCatalog()) {
|
if (getSetting("catalogImageHover") && isOnCatalog()) {
|
||||||
selectors.push(".thread-image");
|
selectors.push(".thread-image");
|
||||||
|
|
Loading…
Reference in New Issue