Fix an oopsie

Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/lib/simpledict.class
This commit is contained in:
Zixaphir 2014-03-03 12:53:01 -07:00 committed by ccd0
parent 58c68316e3
commit 52303cfdc6
2 changed files with 5 additions and 1 deletions

View File

@ -156,6 +156,7 @@ Navigate =
return if e and (e.shiftKey or e.ctrlKey or (e.type is 'click' and e.button isnt 0)) # Not simply a left click
$.addClass Index.button, 'fa-spin'
Index.clearSearch() if Index.isSearching
[_, boardID, view, threadID] = @pathname.split '/'

View File

@ -13,4 +13,7 @@ class SimpleDict
@keys.splice i, 1
delete @[key]
forEach: (fn) -> fn @[key] for key in [@keys...]
forEach: (fn) ->
fn @[key] for key in [@keys...]
return