소스 검색

Fix alt+o shortcut not preventing default in Firefox

Thibaut Courouble 8 년 전
부모
커밋
9cce390ead
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: =>
   onAltO: =>
     return unless link = @find('._attribution:last-child ._attribution-link')
     return unless link = @find('._attribution:last-child ._attribution-link')
-    $.popup(link.href + location.hash)
+    @delay -> $.popup(link.href + location.hash)
     return
     return