mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 00:46:16 -04:00
skins: Improve clientPluginNames class helper
Moving classes to html tag so it can be used to style other part of template depending on plugins like #users, #chat etc... Rename plugin class with "plugin-" prefix, because there were conflicts with some plugins using the same .ep_font_color class to apply css rules
This commit is contained in:
parent
401db8fce3
commit
378dbe8485
4 changed files with 23 additions and 23 deletions
|
@ -146,7 +146,7 @@ exports.clientPluginNames = function() {
|
|||
var client_plugin_names = _.uniq(
|
||||
exports.plugins.parts
|
||||
.filter(function(part) { return part.hasOwnProperty('client_hooks'); })
|
||||
.map(function(part) { return part['plugin']; })
|
||||
.map(function(part) { return 'plugin-' + part['plugin']; })
|
||||
);
|
||||
|
||||
return client_plugin_names;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue