Skip to content

Commit

Permalink
item fix for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Lasky committed Mar 16, 2016
1 parent c85a68d commit 7fef7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mm-list-item/mm-list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
Polymer.dom(this).innerHTML = s.replace(new RegExp(this.highlight,"ig"),function(orig) {
return '<span class="mm-list-item highlight">'+orig+'</span>';
},'ig');
} else if (this.innerText.trim()){
} else if (this.innerText && this.innerText.trim()){
Polymer.dom(this).innerHTML = this.innerText.trim(); //strip any formatting
}
},
Expand Down

0 comments on commit 7fef7d1

Please sign in to comment.