diff --git a/js/lib/libghettoui/popup/TabItem.js b/js/lib/libghettoui/popup/TabItem.js index 99d0272..609fcb4 100644 --- a/js/lib/libghettoui/popup/TabItem.js +++ b/js/lib/libghettoui/popup/TabItem.js @@ -1,11 +1,15 @@ class TabItem extends BaseElement { - constructor (id, name, label, isIframe, onClick, additionalClasses) { + constructor (id, name, label, isIframe, onClick, badge, additionalClasses) { + if (badge) { + label = `