Commit 10695a3f by Masaru Abe

読み込みのレスポンスが遅い場合JSファイルが読み込み終わる前にファンクションの起動が行われていた問題の対策

parent 65b056b4
...@@ -8,12 +8,13 @@ CONTENTVIEW_OPENURI.ready = function(){ ...@@ -8,12 +8,13 @@ CONTENTVIEW_OPENURI.ready = function(){
$("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){ $("#viewer").load("./inc_contentview.html?__UPDATEID__", function (myData, myStatus, xhr){
//読み込み完了時の処理 //読み込み完了時の処理
I18N.i18nReplaceText(); I18N.i18nReplaceText();
setTimeout(function(){
CONTENTVIEW_OPENURI.showContentView();
}, 200);
}); });
setTimeout(function(){
CONTENTVIEW_OPENURI.showContentView();
}, 200);
}; };
CONTENTVIEW_OPENURI.showContentView = function(){ CONTENTVIEW_OPENURI.showContentView = function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment