Browse Source

Remove stale debug outputs

pull/40/head
discomrade 3 years ago
committed by towards-a-new-leftypol
parent
commit
ea1071b994
  1. 4
      js/image-hover.js

4
js/image-hover.js

@ -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='catalogImageHover'><input type='checkbox' /> "+_('Image hover on catalog')+"</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(){
@ -70,7 +70,7 @@ function initImageHover() { //Pashe, influenced by tux, et al, WTFPL
if (!getSetting("imageHover") && !getSetting("catalogImageHover")) {return;}
var selectors = [];
console.log("image-hover");
if (getSetting("imageHover")) {selectors.push("img.post-image", "canvas.post-image");}
if (getSetting("catalogImageHover") && isOnCatalog()) {
selectors.push(".thread-image");

Loading…
Cancel
Save