Fix for web pages that don't have console.log(). Typo in Easter Egg.
This commit is contained in:
parent
bf2aef38b8
commit
adabf7184e
|
@ -65,10 +65,9 @@ require ['jquery', 'lawnchair'], ($) ->
|
||||||
input.focus()
|
input.focus()
|
||||||
|
|
||||||
easter: ->
|
easter: ->
|
||||||
force_re = new RegExp('(Force|Empire|Vader|Darth|Sith|Jedi|rebel)')
|
force_re = new RegExp('(Force|Empire|Vader|Darth|Sith|Jedi|Rebel)')
|
||||||
force = (1 for p in @priorities when force_re.test(p.name))
|
force = (1 for p in @priorities when force_re.test(p.name))
|
||||||
if force.length > 0
|
if force.length > 0
|
||||||
console.log("Aroo?")
|
|
||||||
$('#prioritize').css('background-image', 'url(rebel.png)')
|
$('#prioritize').css('background-image', 'url(rebel.png)')
|
||||||
$('#ignorize').css('background-image', 'url(imperial.png)')
|
$('#ignorize').css('background-image', 'url(imperial.png)')
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue