mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 14:54:04 +08:00
[Common] Window: bug in checking if the window is modal
This commit is contained in:
@ -785,7 +785,7 @@ define([
|
||||
|
||||
isLocked: function() {
|
||||
return this.$window.hasClass('dethrone') ||
|
||||
(!this.options.modal && this.$window.parent().find('.asc-window.modal:visible').length);
|
||||
(!this.initConfig.modal && this.$window.parent().find('.asc-window.modal:visible').length);
|
||||
},
|
||||
|
||||
getChild: function(selector) {
|
||||
|
||||
Reference in New Issue
Block a user