Bug fix for redirecting nulls

This commit is contained in:
斟酌 鵬兄 2015-08-31 15:07:55 +08:00
parent 9042975e28
commit 22c0e5782e

View File

@ -53,12 +53,15 @@
formatted.appendChild( nLine ); formatted.appendChild( nLine );
if( elem.getDAttribute( "href" ) )
{
formatted.addEventListener( formatted.addEventListener(
"click" "click"
, function( e ) { , function( e ) {
window.location = this.loc; window.location = this.loc;
}.bind({ loc: elem.getDAttribute( "href" ) }) }.bind({ loc: elem.getDAttribute( "href" ) })
); );
}
len -= opLen; len -= opLen;
}; };