Commit 8ad7bc56 by vietdo

#20058【ブラウザ】コンテンツ間リンクではない場合にも戻るボタンを押すと前回のコンテンツ画面に戻る

parent cf1bc623
......@@ -1334,6 +1334,14 @@ CONTENTVIEW_EVENTS.imgBack_click = function() {
CONTENTVIEW_EVENTS.imgHome_click = function(e) {
e.preventDefault();
var oldDataBack = ClientData.JumpQueue();
if(oldDataBack.length > 0){
if(ClientData.JumpQueue()){
ClientData.IsJumpBack(false);
ClientData.JumpQueue([]);
}
}
/* set end log */
COMMON.SetEndLog(CONTENTVIEW_GENERAL.contentID);
COMMON.RegisterLog();
......
......@@ -412,7 +412,7 @@ SETTINGS.dspOptRes_OK_Click = function(e) {
$('#divResultMessage .toast-item-loading').hide();
// active close toast button
$('.toast-item-close').click(function () { $().toastmessage('removeToast', $('#divResultMessage'), null) });
$('.toast-item-close').click(function () { $().toastmessage('removeToast', $('#divResultMessage'), null); });
}, 1000);
SETTINGS.closeRestore();
......
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