summaryrefslogtreecommitdiffstats
path: root/browser/src/control/IFrameDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/src/control/IFrameDialog.js')
-rw-r--r--browser/src/control/IFrameDialog.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/src/control/IFrameDialog.js b/browser/src/control/IFrameDialog.js
index a573a809b6..44937c27a9 100644
--- a/browser/src/control/IFrameDialog.js
+++ b/browser/src/control/IFrameDialog.js
@@ -24,7 +24,7 @@ L.IFrameDialog = L.Class.extend({
this._container = L.DomUtil.create('div', this.options.prefix + '-wrap');
content = L.DomUtil.create('div', this.options.prefix + '-content', this._container);
}
- this._container.style.display = 'none';
+ this._container.classList.add('hidden');
form = L.DomUtil.create('form', '', content);
@@ -104,7 +104,7 @@ L.IFrameDialog = L.Class.extend({
},
show: function () {
- this._container.style.display = '';
+ this._container.classList.remove('hidden');
}
});