Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Allow closing modal by clicking overlay (outside modal)
Browse files Browse the repository at this point in the history
  • Loading branch information
rocketeerbkw committed Feb 17, 2015
1 parent 20c558c commit 3201fe0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/scripts/dash-new4.js
Expand Up @@ -2533,6 +2533,9 @@ function deleteOld (store, onlyCount) {
}

$(document).ready(function() {
// Allow closing modal dialogs by clicking the overlay;
$.modal.defaults.overlayClose = true;

readerObj = document.getElementById('reader');
window.onresize = resizeIframe;

Expand Down

0 comments on commit 3201fe0

Please sign in to comment.