Skip to content

Commit

Permalink
window manager
Browse files Browse the repository at this point in the history
  • Loading branch information
eeejay committed Jul 8, 2013
1 parent 6c1a4c9 commit 1ca40da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/system/js/window_manager.js
Expand Up @@ -768,6 +768,12 @@ var WindowManager = (function() {

var iframe = app.iframe;

var oldApp = runningApps[currentApp];
if (oldApp) {
oldApp.iframe.setAttribute('aria-hidden', 'true');
}
iframe.removeAttribute('aria-hidden')

// unloaded means that the app is cold booting
// if it is, we're going to listen for Browser API's loadend event
// which indicates that the iframe's document load is complete
Expand Down

0 comments on commit 1ca40da

Please sign in to comment.