Socket
Socket
Sign inDemoInstall

nodebb-theme-peace

Package Overview
Dependencies
0
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

screenshots/categories-m.png

2

package.json
{
"name": "nodebb-theme-peace",
"version": "2.0.0",
"version": "2.0.1",
"nbbpm": {

@@ -5,0 +5,0 @@ "compatibility": "^3.0.0"

@@ -34,5 +34,10 @@ "use strict";

const href= $('a[href="' + config.relative_path + payload.url + '"].navigation-link')
href.parent().find('[component="nav/content/badge"]')
.text(payload.count)
.toggleClass('hidden', !payload.count);
const el = href.parent().find('[component="nav/content/badge"]');
if (el.length) {
el.text(payload.count)
.toggleClass('hidden', !payload.count);
$('[component="unread/badge"]')
.text(payload.count)
.toggleClass('hidden', !payload.count);
}
});

@@ -39,0 +44,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc