diff options
author | drry | 2009-01-09 19:29:29 +0000 |
---|---|---|
committer | drry | 2009-01-09 19:29:29 +0000 |
commit | 75d1415b8b03dfb50f08d00e53c013f6b390368a (patch) | |
tree | 39b43db35c67490fc64a5b66c9b3c5a43bacea8e /notifier | |
parent | e58241048c76a7ab49487662ebc6854e06c481d1 (diff) | |
download | vimperator-plugins-75d1415b8b03dfb50f08d00e53c013f6b390368a.tar.bz2 |
* cosmetic changes.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28232 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'notifier')
-rw-r--r-- | notifier/observer_growl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notifier/observer_growl.js b/notifier/observer_growl.js index d8c60c1..bff7466 100644 --- a/notifier/observer_growl.js +++ b/notifier/observer_growl.js @@ -188,7 +188,7 @@ notifier.observer.register(notifier.Observer, { var text = growl.message.title + ' ' + growl.message.message.replace(/(?:<[^>]*>)+/g, ''); - if (growl.sticky_keywords_exp.some(function(k) text.match(k)) || + if (growl.sticky_keywords_exp.some(function(k) k.test(text)) || growl.created.getTime() + growl.options.life * 1000 > new Date().getTime()) return false; |