You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/07/21 21:36:22 UTC
[2/2] git commit: Update statusbar.js
Update statusbar.js
Fixed typo
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/commit/95f8de08
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/tree/95f8de08
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/diff/95f8de08
Branch: refs/heads/master
Commit: 95f8de0852021306a052e149cdcd1bdc6449ddf9
Parents: d9a8528
Author: Brad Berger <br...@bradb.net>
Authored: Mon Jul 21 09:44:23 2014 +0200
Committer: Brad Berger <br...@bradb.net>
Committed: Mon Jul 21 09:44:23 2014 +0200
----------------------------------------------------------------------
www/statusbar.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-statusbar/blob/95f8de08/www/statusbar.js
----------------------------------------------------------------------
diff --git a/www/statusbar.js b/www/statusbar.js
index 96c0808..d6f68ac 100644
--- a/www/statusbar.js
+++ b/www/statusbar.js
@@ -71,7 +71,7 @@ var StatusBar = {
},
backgroundColorByHexString: function (hexString) {
- if (hexString.charAt(0) === "#") {
+ if (hexString.charAt(0) !== "#") {
hexString = "#" + hexString;
}