Attaches qTip2 library.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
(function ($, Drupal, drupalSettings) {
|
||||
|
||||
'use strict';
|
||||
|
||||
Drupal.behaviors.cdesai_tff_tooltip = {
|
||||
attach: function (context, settings) {
|
||||
$('body', context).once('cdesai_tff_tooltip').each(function () {
|
||||
|
||||
$('[data-tooltip!=""]').qtip({
|
||||
content: {
|
||||
attr: 'data-tooltip'
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
})(jQuery, Drupal, drupalSettings);
|
||||
Reference in New Issue
Block a user