Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodebb-theme-sin-faltas

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-theme-sin-faltas - npm Package Compare versions

Comparing version 0.0.32 to 0.0.33

27

lib/client.js

@@ -19,5 +19,28 @@ /*

var url = data.url;
console.log('Data ' + JSON.stringify(data));
console.log('Event ' + JSON.stringify(event));
console.log('Data ' + url);
// Script to change navbar color when scroll in page
$(window).on('scroll', function() {
console.log("get in scroll");
if($(window).scrollTop() > 50) {
$('#header-menu').addClass('navbar-active');
$('.forum-logo').attr('src','https://sinfaltas.com/wp-content/uploads/2015/10/logo-sinfaltas-n-baja.png');
} else {
//remove the background property so it comes transparent again (defined in your css)
$('#header-menu').removeClass('navbar-active');
$('.forum-logo').attr('src','https://sinfaltas.com/wp-content/uploads/2015/10/logo-sinfaltas-baja.png');
}
});
// Calculate in which page we are to modify the navbar
var parseURL = window.location.pathname.split('/');
if(parseURL[1] !== "topic" &&
parseURL[1] !== "category" &&
parseURL[1] !== "categories" &&
parseURL[1] !== ""){
console.log(parseURL[1]);
$('#header-menu').addClass('navbar-active');
$('.forum-logo').attr('src','https://sinfaltas.com/wp-content/uploads/2015/10/logo-sinfaltas-n-baja.png');
}
});
});

2

package.json
{
"name": "nodebb-theme-sin-faltas",
"version": "0.0.32",
"version": "0.0.33",
"description": "Template to SinFaltas Forum",

@@ -5,0 +5,0 @@ "main": "theme.less",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc