Skip to content

Commit

Permalink
add native call for runtime tip for fireball/issues/3843
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxHuang committed Aug 16, 2016
1 parent 28dc28b commit 53c531c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/cases/native_call/Native_Call/NativeCallCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cc.Class({

// use this for initialization
onLoad: function () {
if (!(cc.sys.isMobile && cc.sys.platform == cc.sys.ANDROID)) { return; }
if (!(cc.sys.isMobile && cc.sys.platform == cc.sys.ANDROID) || cc.runtime) { return; }
this.tips.textKey = i18n.t("cases/native_call/native_call.fire.2");
this.button.active = true;
},
Expand Down

0 comments on commit 53c531c

Please sign in to comment.