Browse Source

Fix alt+o shortcut not preventing default in Firefox

Thibaut Courouble 8 years ago
parent
commit
9cce390ead
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/javascripts/views/content/entry_page.coffee

+ 1 - 1
assets/javascripts/views/content/entry_page.coffee

@@ -154,5 +154,5 @@ class app.views.EntryPage extends app.View
 
   onAltO: =>
     return unless link = @find('._attribution:last-child ._attribution-link')
-    $.popup(link.href + location.hash)
+    @delay -> $.popup(link.href + location.hash)
     return