Skip to content

Commit 7c6a5e9

Browse files
authored
Merge pull request #2116 from WalcoFPV/fix_cordova_versions
Cordova: use only version from package.json
2 parents c59f49d + e1ea074 commit 7c6a5e9

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)