User:GogouAnastasia/common.js

$('.hover-bgc').hover( function {       $(this).attr("data-hover-bgc-original", $(this).css("background-color"))        var parentSpec = $(this).parent('.hover-bgc-parent').attr('data-hover-bgc-child');    $(this).css({ "background-color" : ((typeof parentSpec !== typeof undefined) && (parentSpec !== false)) ? parentSpec : $(this).attr('data-hover-bgc') }); }, function {   $(this).css({ "background-color" : $(this).attr('data-hover-bgc-original') }); });