mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 08:05:57 -04:00
Fix empty Plugin header tabs
This commit is contained in:
1 parent
c8fcf6227e
commit
62669fd181
2 files changed
+6
-3
No files matched your search
+4
-1
@@ -146,7 +146,7 @@ function localize (obj, key) {
|
||||
}
|
||||
}
|
||||
|
||||
result == "" ? en_us : result ;
|
||||
result == "" ? result = en_us : result ;
|
||||
|
||||
return result;
|
||||
}
|
||||
@@ -190,6 +190,9 @@ function generateTabs()
|
||||
activetab = 'active'
|
||||
|
||||
$.each(pluginDefinitions, function(index, obj) {
|
||||
|
||||
// console.log(obj)
|
||||
|
||||
$('#tabs-location').append(
|
||||
`<li class=" ${activetab}">
|
||||
<a href="#${obj.unique_prefix}" data-plugin-prefix="${obj.unique_prefix}" id="${obj.unique_prefix}_id" data-toggle="tab" >
|
||||
|
||||
Reference in new issue
Block a user