Skip to content
This repository was archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
refactor(macFocusOnEvent): Prevent digest cycle from invoking on focus
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianlee44 committed Oct 8, 2013
1 parent 2ab95b2 commit d019f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/focus_on_event.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ angular.module("Mac").directive "macFocusOnEvent", ["$timeout", ($timeout) ->
x = window.scrollX
y = window.scrollY
window.scrollTo x, y
, 0
, 0, false
]

0 comments on commit d019f76

Please sign in to comment.