mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-28 23:54:18 +00:00
remove extra parenthesis
This commit is contained in:
parent
32217ae150
commit
104986c808
@ -404,7 +404,7 @@ function watchHashChange(e)
|
|||||||
var notFirstModalView=(prevhashstring!=undefined && prevhashstring.length>0 );
|
var notFirstModalView=(prevhashstring!=undefined && prevhashstring.length>0 );
|
||||||
var notNavigatedBackToFirstModalView=(window.history.state==null || ( window.history.state!=null && window.history.state.showCloseButton!=false ) )
|
var notNavigatedBackToFirstModalView=(window.history.state==null || ( window.history.state!=null && window.history.state.showCloseButton!=false ) )
|
||||||
|
|
||||||
if(notFirstModalView && notNavigatedBackToFirstModalView ) ){
|
if(notFirstModalView && notNavigatedBackToFirstModalView ){
|
||||||
$('.modal-back').css('display','inline');
|
$('.modal-back').css('display','inline');
|
||||||
} else {
|
} else {
|
||||||
window.history.pushState({showCloseButton:false},null,null);
|
window.history.pushState({showCloseButton:false},null,null);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user