mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 16:40:56 -04:00
Fix for #activity
This commit is contained in:
parent
455e4ac936
commit
a0390d27a1
@ -306,7 +306,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
var tab = window.location.hash || (localStorage.getItem('client_tab') || '');
|
var tab = window.location.hash || (localStorage.getItem('client_tab') || '');
|
||||||
var selector = '.nav-tabs a[href="#' + tab.replace('#', '') + '"]';
|
tab = tab.replace('#', '');
|
||||||
|
var selector = '.nav-tabs a[href="#' + tab + '"]';
|
||||||
if (tab && tab != 'activity' && $(selector).length) {
|
if (tab && tab != 'activity' && $(selector).length) {
|
||||||
$(selector).tab('show');
|
$(selector).tab('show');
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user