mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-27 15:14:40 +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 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');
|
||||
} else {
|
||||
window.history.pushState({showCloseButton:false},null,null);
|
||||
|
Loading…
x
Reference in New Issue
Block a user