Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Gabrielsson committed Aug 2, 2024
1 parent 8c19a05 commit b2238d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nightly/front.js
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,9 @@ var app = {
},

disable: function (bool) {
var val = bool ? 'hidden' : 'initial'
document.documentElement.style.cssText = 'visibility:' + val
var val = bool ? 'hidden' : 'initial',
isURI = (document.documentURI || document.location.href).indexOf('data:') !== 0 // Stops iframes.
if (isURI) document.documentElement.style.cssText = 'visibility:' + val
},

/**
Expand Down

0 comments on commit b2238d3

Please sign in to comment.