summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-09-24 09:29:11 +0200
committerGitHub <noreply@github.com>2018-09-24 09:29:11 +0200
commit8d3931df24d84194bbab474f6618e63eb4fd603b (patch)
tree9e020f2ab29cc4b650e45d37c50aaa4dcaf2254e
parent454110c781d8b1db62d3f57072ff79078b1a3266 (diff)
parent43c4091450197c09b54a04981a04c5b35d1ad220 (diff)
downloadUXP-8d3931df24d84194bbab474f6618e63eb4fd603b.tar
UXP-8d3931df24d84194bbab474f6618e63eb4fd603b.tar.gz
UXP-8d3931df24d84194bbab474f6618e63eb4fd603b.tar.lz
UXP-8d3931df24d84194bbab474f6618e63eb4fd603b.tar.xz
UXP-8d3931df24d84194bbab474f6618e63eb4fd603b.zip
Merge pull request #786 from JustOff/PR_auth_dialog_overflow
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();
}