Merge pull request #5070 from 123survesh/fix_mozLockOrientation

Fix for issue #5069, where using lockOrientation breaks in firefox
This commit is contained in:
Richard Davey 2020-04-27 12:11:51 +01:00 committed by GitHub
commit c34212aed4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -697,7 +697,7 @@ var ScaleManager = new Class({
if (lock)
{
return lock(orientation);
return lock.call(screen, orientation);
}
return false;