diff --git a/4chan_x.user.js b/4chan_x.user.js index cd78e033d..42165a93a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3092,8 +3092,8 @@ callback = _ref2[_i]; try { nodes.forEach(callback); - } catch (e) { - alert(e); + } catch (err) { + alert(err); continue; } } @@ -3122,7 +3122,7 @@ callback = _ref[_i]; try { nodes.forEach(callback); - } catch (e) { + } catch (err) { continue; } } diff --git a/script.coffee b/script.coffee index 9fbf136a3..75af835ef 100644 --- a/script.coffee +++ b/script.coffee @@ -2360,8 +2360,8 @@ Main = for callback in g.callbacks try nodes.forEach callback - catch e - alert e + catch err + alert err continue $.bind $('form[name=delform]'), 'DOMNodeInserted', Main.node options.init() @@ -2380,7 +2380,7 @@ Main = for callback in g.callbacks try nodes.forEach callback - catch e + catch err continue css: '