diff --git a/4chan_x.js b/4chan_x.js index cb17db1a2..a4620a261 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1973,7 +1973,7 @@ } } $.bind($('select', controls), 'change', $.cb.value); - $.bind($('select', controls), 'change', imageTypeChange); + $.bind($('select', controls), 'change', imgExpand.cb.typeChange); $.bind($('input', controls), 'click', imgExpand.cb.all); delform = $('form[name=delform]'); return $.prepend(delform, controls); @@ -2144,7 +2144,7 @@ $.bind(recaptcha, 'keydown', recaptcha.listener); $.bind($('form[name=post]'), 'submit', qr.cb.submit); if ($.config('Image Expansion')) { - imgExpansion.init(); + imgExpand.init(); } if ($.config('Image Auto-Gif')) { imgGif.init(); diff --git a/script.coffee b/script.coffee index 5709617b8..53e153e4a 100644 --- a/script.coffee +++ b/script.coffee @@ -1498,7 +1498,7 @@ imgExpand = option.selected = true break $.bind $('select', controls), 'change', $.cb.value - $.bind $('select', controls), 'change', imageTypeChange + $.bind $('select', controls), 'change', imgExpand.cb.typeChange $.bind $('input', controls), 'click', imgExpand.cb.all delform = $ 'form[name=delform]' @@ -1674,7 +1674,7 @@ $.bind $('form[name=post]'), 'submit', qr.cb.submit #major features if $.config 'Image Expansion' - imgExpansion.init() + imgExpand.init() if $.config 'Image Auto-Gif' imgGif.init()