Skip to content

Commit

Permalink
Add *nobanner* option
Browse files Browse the repository at this point in the history
  • Loading branch information
blokhin committed Mar 2, 2023
1 parent 0eea8f9 commit cf6fb8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ function url_redraw_react(){
}

function display_landing(){
if (player.mpds_integration){
if (player.mpds_integration || (window.location.search && window.location.search.indexOf('nobanner') !== -1)){
document.getElementById('preloader').style.display = 'none';
return;
}
Expand Down

0 comments on commit cf6fb8d

Please sign in to comment.