Be conformant to style guide
parent
15ca247d53
commit
8ac3d5f838
|
@ -73,11 +73,11 @@ MaterialTooltip.prototype.init = function() {
|
||||||
if (this.element_) {
|
if (this.element_) {
|
||||||
var forElId = this.element_.getAttribute('for');
|
var forElId = this.element_.getAttribute('for');
|
||||||
forEl;
|
forEl;
|
||||||
if(forElId) {
|
if (forElId) {
|
||||||
forEl = document.getElementById(forElId);
|
forEl = document.getElementById(forElId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(forEl) {
|
if (forEl) {
|
||||||
forEl.addEventListener('mouseenter', this.handleMouseEnter_.bind(this),
|
forEl.addEventListener('mouseenter', this.handleMouseEnter_.bind(this),
|
||||||
false);
|
false);
|
||||||
forEl.addEventListener('mouseleave', this.handleMouseLeave_.bind(this));
|
forEl.addEventListener('mouseleave', this.handleMouseLeave_.bind(this));
|
||||||
|
|
Loading…
Reference in New Issue