diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 7f7b6f1b6..74afcc26d 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -9810,7 +9810,7 @@ })); Header.addShortcut(el, true); if (Conf[lc]) { - FappeTyme.cb.set(type); + FappeTyme.cb.set(lc); } } return Post.callbacks.push({ diff --git a/builds/crx/script.js b/builds/crx/script.js index eb3ac0690..b163fccda 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -9796,7 +9796,7 @@ })); Header.addShortcut(el, true); if (Conf[lc]) { - FappeTyme.cb.set(type); + FappeTyme.cb.set(lc); } } return Post.callbacks.push({ diff --git a/src/Images/FappeTyme.coffee b/src/Images/FappeTyme.coffee index fc534c8f0..d351d4606 100755 --- a/src/Images/FappeTyme.coffee +++ b/src/Images/FappeTyme.coffee @@ -16,7 +16,7 @@ FappeTyme = $.on el, 'click', FappeTyme.cb.toggle.bind {name: "#{lc}"} Header.addShortcut el, true - FappeTyme.cb.set type if Conf[lc] + FappeTyme.cb.set lc if Conf[lc] Post.callbacks.push name: 'Fappe Tyme' @@ -34,4 +34,4 @@ FappeTyme = toggle: -> Conf[@name] = !Conf[@name] FappeTyme.cb.set @name - $.cb.checked.call {name: @name, checked: Conf[@name]} \ No newline at end of file + $.cb.checked.call {name: @name, checked: Conf[@name]}