Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frameworks/cocos2d-html5
2 changes: 1 addition & 1 deletion templates/js-template-default/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
*/

cc.game.onStart = function(){
if(!cc.sys.isNative) //If referenced loading.js, please remove it
if(!cc.sys.isNative && document.getElementById("cocosLoading")) //If referenced loading.js, please remove it
document.body.removeChild(document.getElementById("cocosLoading"));

cc.view.adjustViewPort(true);
Expand Down