Add tooltipe to PE

This commit is contained in:
OVSharova 2021-08-19 05:41:12 +03:00
parent d8cb7fb985
commit f82c125b9f

View file

@ -795,6 +795,15 @@ define([
scope: this,
docs: this.options[0].docs
}));
var docs=this.options[0].docs;
var thumbsElm= this.$el.find('.thumb-wrap');
_.each(thumbsElm, function (tmb, index){
//var chFirst=$(tmb).children(':first');
$(tmb).tooltip({
title : docs[index].title,
placement : 'bottom'||'coursor'
});
});
if (_.isUndefined(this.scroller)) {
this.scroller = new Common.UI.Scroller({