mirror of
https://github.com/ok2/coinbin.git
synced 2026-05-09 18:15:23 +02:00
fix Uncaught TypeError logged to console when switching Tx Input and Output tabs
This commit is contained in:
+1
-1
@@ -1803,7 +1803,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
$('a[data-toggle="tab"]').on('click', function(e) {
|
$('a[data-toggle="tab"]').on('click', function(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if(e.target){
|
if(e.target && $(e.target).attr('href')) {
|
||||||
history.pushState(null, null, '#'+$(e.target).attr('href').substr(1));
|
history.pushState(null, null, '#'+$(e.target).attr('href').substr(1));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user