Skip to content

Commit

Permalink
all dialogs are now non-modal because of high cpu usage
Browse files Browse the repository at this point in the history
  • Loading branch information
zadam committed Jun 16, 2018
1 parent 3d2ef6b commit 3a95c9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/public/javascripts/services/protected_session.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ function ensureProtectedSession(requireProtectedSession, modal) {
}

$dialog.dialog({
modal: modal,
// modal: modal,
// everything is now non-modal, because modal dialog caused weird high CPU usage on opening
// and tearing of text input
modal: false,
width: 400,
open: () => {
if (!modal) {
Expand Down

0 comments on commit 3a95c9e

Please sign in to comment.