Skip to content

Commit 66f0574

Browse files
author
praneshp
committed
fix eqeqeq complaint
1 parent b018eb8 commit 66f0574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dropbox-base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ client_id=${clientId}&client_secret=${clientSecret}`;
290290
const browser = window.open(url, '_blank');
291291

292292
function onLoadError(event) {
293-
if (event.code != -999) { // Workaround to fix wrong behavior on cordova-plugin-inappbrowser
293+
if (event.code !== -999) { // Workaround to fix wrong behavior on cordova-plugin-inappbrowser
294294
// Try to avoid a browser crash on browser.close().
295295
window.setTimeout(() => { browser.close(); }, 10);
296296
errorCallback();

0 commit comments

Comments
 (0)