Permalink
Browse files

Keep ev.preventDefault() from being called in FF

  • Loading branch information...
1 parent 989bc2a commit 15be26ac8847d8aa0cb6040d9b13f4c4da6fa250 @adamlincoln adamlincoln committed May 8, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 extensions/chrome_ext/bookie-core.js
@@ -183,7 +183,9 @@ var bookie = (function (module, $, logger) {
}
$b.call.saveBookmark(data);
- ev.preventDefault();
+ if (ev !== undefined) {
+ ev.preventDefault();
+ }
};
/**

0 comments on commit 15be26a

Please sign in to comment.