fix Uncaught TypeError logged to console when switching Tx Input and Output tabs

This commit is contained in:
Wowee0 2019-09-23 21:01:03 -05:00
parent cf2a8b01cb
commit b0c6c3a516

View file

@ -1803,7 +1803,7 @@ $(document).ready(function() {
$('a[data-toggle="tab"]').on('click', function(e) {
e.preventDefault();
if(e.target){
if(e.target && $(e.target).attr('href')) {
history.pushState(null, null, '#'+$(e.target).attr('href').substr(1));
}
});