mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix help modal error
This commit is contained in:
parent
9b6346e4c0
commit
8910b3ae27
@ -326,7 +326,8 @@
|
||||
var tab = window.location.hash || (localStorage.getItem('client_tab') || '');
|
||||
tab = tab.replace('#', '');
|
||||
var selector = '.nav-tabs a[href="#' + tab + '"]';
|
||||
if (tab && tab != 'activity' && $(selector).length) {
|
||||
|
||||
if (tab && tab != 'activity' && $(selector).length && window['load_' + tab]) {
|
||||
$(selector).tab('show');
|
||||
} else {
|
||||
window['load_activity']();
|
||||
|
Loading…
x
Reference in New Issue
Block a user