summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-09-23 17:30:43 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-09-23 17:30:43 +0300
commit43c4091450197c09b54a04981a04c5b35d1ad220 (patch)
tree9e020f2ab29cc4b650e45d37c50aaa4dcaf2254e
parent454110c781d8b1db62d3f57072ff79078b1a3266 (diff)
downloadUXP-43c4091450197c09b54a04981a04c5b35d1ad220.tar
UXP-43c4091450197c09b54a04981a04c5b35d1ad220.tar.gz
UXP-43c4091450197c09b54a04981a04c5b35d1ad220.tar.lz
UXP-43c4091450197c09b54a04981a04c5b35d1ad220.tar.xz
UXP-43c4091450197c09b54a04981a04c5b35d1ad220.zip
Remove window.sizeToContent() from commonDialog.js, as it's useless and leads to overflow in the basic auth dialog
-rw-r--r--toolkit/components/prompts/content/commonDialog.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/toolkit/components/prompts/content/commonDialog.js b/toolkit/components/prompts/content/commonDialog.js
index ef4686654..70b373d1f 100644
--- a/toolkit/components/prompts/content/commonDialog.js
+++ b/toolkit/components/prompts/content/commonDialog.js
@@ -50,8 +50,6 @@ function commonDialogOnLoad() {
Dialog = new CommonDialog(args, ui);
Dialog.onLoad(dialog);
- // resize the window to the content
- window.sizeToContent();
window.getAttention();
}