Skip to content

Commit 17df7de

Browse files
committed
Merge pull request #2116 from WalcoFPV/fix_cordova_versions
Cordova: use only version from package.json
1 parent c87e596 commit 17df7de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function appReady() {
1515
CONFIGURATOR.gitChangesetId = data.gitChangesetId;
1616

1717
// Version in the ChromeApp's manifest takes precedence.
18-
if(chrome.runtime && chrome.runtime.getManifest) {
18+
if(chrome.runtime && chrome.runtime.getManifest && !GUI.isCordova()) {
1919
const manifest = chrome.runtime.getManifest();
2020
CONFIGURATOR.version = manifest.version;
2121
// manifest.json for ChromeApp can't have a version

0 commit comments

Comments
 (0)