Skip to content

Commit 7d00bd5

Browse files
committed
Merge pull request #30 from andreybritto/master
Fix .bind call for PhantomJS
2 parents 7afeaab + e99b016 commit 7d00bd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-fullscreen.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
});
1818

1919
var serviceInstance = {
20-
$on: emitter.$on.bind(emitter),
20+
$on: angular.bind(emitter, emitter.$on),
2121
all: function() {
2222
serviceInstance.enable( document.documentElement );
2323
},

0 commit comments

Comments
 (0)