Skip to content

Commit c34212a

Browse files
authored
Merge pull request phaserjs#5070 from 123survesh/fix_mozLockOrientation
Fix for issue phaserjs#5069, where using lockOrientation breaks in firefox
2 parents d2dce27 + ed0e76c commit c34212a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scale/ScaleManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ var ScaleManager = new Class({
697697

698698
if (lock)
699699
{
700-
return lock(orientation);
700+
return lock.call(screen, orientation);
701701
}
702702

703703
return false;

0 commit comments

Comments
 (0)