rate-it/public/js/RateItBackend.js
2014-10-01 07:19:14 +02:00

23 lines
418 B
JavaScript

var RateItBackend =
{
/**
* Add the interactive help
*/
addInteractiveHelp: function() {
// Links and input elements
['div.statisticsbar[title]'].each(function(el) {
new Tips.Contao($$(el).filter(function(i) {
return i.title != '';
}), {
offset: {x:0, y:26}
});
});
}
};
//Initialize the back end script
window.addEvent('domready', function() {
RateItBackend.addInteractiveHelp();
});