mirror of
https://github.com/apache/cordova-plugin-screen-orientation.git
synced 2025-05-05 01:32:59 +08:00
Removed unused variable assignment
This commit is contained in:
parent
f8c75e341a
commit
050cc069a1
@ -56,7 +56,6 @@
|
|||||||
var p = new Promise(function(resolve, reject) {
|
var p = new Promise(function(resolve, reject) {
|
||||||
if (screenObject.nativeLock != null) {
|
if (screenObject.nativeLock != null) {
|
||||||
promiseLock = screenObject.nativeLock(orientation);
|
promiseLock = screenObject.nativeLock(orientation);
|
||||||
flag = true;
|
|
||||||
} else {
|
} else {
|
||||||
resolveOrientation(orientation, resolve, reject);
|
resolveOrientation(orientation, resolve, reject);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user