diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 21:14:18 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-30 21:14:18 +0200 |
commit | 6a44ab26592fbe95b69e1bf4d3a3b0de03a99b26 (patch) | |
tree | 5b24c0d79e0dc70e45dda1269d330f95c685c918 /toolkit/content/browser-content.js | |
parent | 5e69b904229a13b423b6a2a1f3be4c50ffd2c505 (diff) | |
download | UXP-6a44ab26592fbe95b69e1bf4d3a3b0de03a99b26.tar UXP-6a44ab26592fbe95b69e1bf4d3a3b0de03a99b26.tar.gz UXP-6a44ab26592fbe95b69e1bf4d3a3b0de03a99b26.tar.lz UXP-6a44ab26592fbe95b69e1bf4d3a3b0de03a99b26.tar.xz UXP-6a44ab26592fbe95b69e1bf4d3a3b0de03a99b26.zip |
Bug 1364026 - (Part 2) Check if min and max attributes on input type date are valid date strings
Diffstat (limited to 'toolkit/content/browser-content.js')
-rw-r--r-- | toolkit/content/browser-content.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/content/browser-content.js b/toolkit/content/browser-content.js index b955bd29d..145de9608 100644 --- a/toolkit/content/browser-content.js +++ b/toolkit/content/browser-content.js @@ -1728,8 +1728,8 @@ let DateTimePickerListener = { // element's value. value: Object.keys(value).length > 0 ? value : this._inputElement.value, - min: this._inputElement.min, - max: this._inputElement.max, + min: this._inputElement.getMinimum(), + max: this._inputElement.getMaximum(), step: this._inputElement.getStep(), stepBase: this._inputElement.getStepBase(), }, |