Browse Source

remove extra parenthesis

master
Miguel Freitas 10 years ago
parent
commit
104986c808
  1. 2
      js/interface_common.js

2
js/interface_common.js

@ -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…
Cancel
Save