- Código:
(function($) {
'use strict';
$(function() {
if (!/^\/f(\d )(p\d -|-).*$/i.test(location.pathname)) return;
$('li[class^="row"]').each(function() {
var $row = $(this);
var $name = $row.find('.color-groups');
if (!$name.length || !$name.css('color')) return;
$row.css('border-top-color', $name.css('color'));
});
});
})(jQuery);
Participe do fórum, é rápido e fácil