From adabf7184e20adf2fd4d62ef34ee1451da673995 Mon Sep 17 00:00:00 2001 From: Ken Elf Mathieu Sternberg Date: Mon, 23 Jul 2012 12:19:36 -0700 Subject: [PATCH] Fix for web pages that don't have console.log(). Typo in Easter Egg. --- src/priority.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/priority.coffee b/src/priority.coffee index 461b004..1bded55 100644 --- a/src/priority.coffee +++ b/src/priority.coffee @@ -65,10 +65,9 @@ require ['jquery', 'lawnchair'], ($) -> input.focus() 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)) if force.length > 0 - console.log("Aroo?") $('#prioritize').css('background-image', 'url(rebel.png)') $('#ignorize').css('background-image', 'url(imperial.png)') else