Initialer Commit in GIT
This commit is contained in:
22
public/js/RateItBackend.js
Normal file
22
public/js/RateItBackend.js
Normal file
@ -0,0 +1,22 @@
|
||||
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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user