Skip to content

Commit d342739

Browse files
committed
Fix missing return value in requestAnimationFrame wrapper (fixes #458)
1 parent 2e93543 commit d342739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raven.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ Raven.prototype = {
578578
if (window.requestAnimationFrame) {
579579
fill(window, 'requestAnimationFrame', function (orig) {
580580
return function (cb) {
581-
orig(self.wrap(cb));
581+
return orig(self.wrap(cb));
582582
};
583583
});
584584
}

0 commit comments

Comments
 (0)