diff --git a/package.json b/package.json index ba824f89..95901cc3 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "c9.ide.run.build": "#0598fff697", "c9.ide.run.debug.xdebug": "#61dcbd0180", "c9.ide.save": "#e00549cb0f", - "c9.ide.scm": "#3fd9065f59", + "c9.ide.scm": "#0bccfb982b", "c9.ide.terminal.monitor": "#b76f1c9f24", "c9.ide.theme.flat": "#2de8414db7", "c9.ide.threewaymerge": "#229382aa0b", diff --git a/plugins/c9.ide.preferences/experimental.js b/plugins/c9.ide.preferences/experimental.js index 0b645886..a9595830 100644 --- a/plugins/c9.ide.preferences/experimental.js +++ b/plugins/c9.ide.preferences/experimental.js @@ -83,9 +83,9 @@ define(function(require, exports, module) { // return value from url if present, otherwise return the setting var idx = c9.location.indexOf(key + "="); if (idx !== -1) { - if (c9.location.indexOf(key + "=0")) + if (c9.location.indexOf(key + "=0") != -1) return false; - if (c9.location.indexOf(key + "=1")) + if (c9.location.indexOf(key + "=1") != -1) return true; }