mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
closes #2593
This commit is contained in:
@@ -94,7 +94,7 @@ module.exports = function(Meta) {
|
||||
clientScripts = [];
|
||||
|
||||
pluginsScripts = plugins.clientScripts.filter(function(path) {
|
||||
if (path.indexOf('.js') !== -1) {
|
||||
if (path.endsWith('.js')) {
|
||||
return true;
|
||||
} else {
|
||||
pluginDirectories.push(path);
|
||||
|
||||
Reference in New Issue
Block a user