Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(SingleClick) use scope. instead of scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Jan 14, 2016
1 parent 9287d45 commit 407d6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/directives/single-click-select.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ angular.module('walletApp').directive('singleClickSelect', ($window) ->

if scope.browserCanExecCommand
$window.document.execCommand('copy')
scope.$digest()
scope.$safeApply()

elem.bind('click', ->
scope.select()
Expand Down

0 comments on commit 407d6ed

Please sign in to comment.