fix weblinks opening two windows when clicking the text link (#389)

This commit is contained in:
Eugenio Panadero
2017-08-13 11:46:04 -07:00
committed by Paulus Schoutsen
parent 688a984bac
commit 9426cfd5ca
+1 -4
View File
@@ -49,10 +49,7 @@ Polymer({
onTap: function (ev) {
ev.stopPropagation();
if (ev.target === this.$.link) {
// Only open window if we clicked on card but not the link
return;
}
ev.preventDefault();
window.open(this.stateObj.state, '_blank');
},
});