release v1.0.0 #14

Merged
thefeli73 merged 63 commits from develop into master 2019-11-12 18:53:53 +01:00
Showing only changes of commit 5df6e992cb - Show all commits

View File

@ -1,4 +1,4 @@
;(function() { (function() {
"use strict"; "use strict";
/** /**
@ -2220,7 +2220,7 @@ MaterialSnackbar.prototype.cleanup_ = function () {
setTimeout(function () { setTimeout(function () {
this.element_.setAttribute('aria-hidden', 'true'); this.element_.setAttribute('aria-hidden', 'true');
this.textElement_.textContent = ''; this.textElement_.textContent = '';
if (!Boolean(this.actionElement_.getAttribute('aria-hidden'))) { if (!this.actionElement_.getAttribute('aria-hidden')) {
this.setActionHidden_(true); this.setActionHidden_(true);
this.actionElement_.textContent = ''; this.actionElement_.textContent = '';
this.actionElement_.removeEventListener('click', this.actionHandler_); this.actionElement_.removeEventListener('click', this.actionHandler_);
@ -2881,7 +2881,7 @@ MaterialTextfield.prototype['checkDisabled'] = MaterialTextfield.prototype.check
* @public * @public
*/ */
MaterialTextfield.prototype.checkFocus = function () { MaterialTextfield.prototype.checkFocus = function () {
if (Boolean(this.element_.querySelector(':focus'))) { if ((this.element_.querySelector(':focus'))) {
this.element_.classList.add(this.CssClasses_.IS_FOCUSED); this.element_.classList.add(this.CssClasses_.IS_FOCUSED);
} else { } else {
this.element_.classList.remove(this.CssClasses_.IS_FOCUSED); this.element_.classList.remove(this.CssClasses_.IS_FOCUSED);