Skip to content

Commit af3b6bd

Browse files
committed
fixed error on non-mobile
1 parent 7a0c0f5 commit af3b6bd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/MobileNativeFeatures/widget/MobileTransitions.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,10 @@ define([
153153
}
154154
window.plugins.nativepagetransitions.nextTransition = null;
155155
window.plugins.nativepagetransitions.nextOptions = null;
156+
//set a limit on how long we're going to keep the transition waiting, in case something breaks
157+
setTimeout(this._cancelTransition, 5000);
156158
}
157159

158-
//set a limit on how long we're going to keep the transition waiting, in case something breaks
159-
setTimeout(this._cancelTransition, 5000);
160-
161160
return deferred;
162161
},
163162

test/widgets/MobileNativeFeatures.mpk

-4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)