[FIX] website editor: remove wrong tooltip on snippet icon
This commit is contained in:
@@ -202,16 +202,6 @@
|
||||
throw new Error("Wrong snippets xml definition");
|
||||
}
|
||||
|
||||
$ul.children().tooltip({
|
||||
delay: { "show": 500, "hide": 100 },
|
||||
container: 'body',
|
||||
title: function () {
|
||||
return (navigator.appVersion.indexOf('Mac') > -1 ? 'CMD' : 'CTRL')+'+SHIFT+'+($(this).index()+1);
|
||||
},
|
||||
trigger: 'hover',
|
||||
placement: 'top'
|
||||
}).on('click', function () {$(this).tooltip('hide');});
|
||||
|
||||
// t-snippet
|
||||
$html.find('[data-oe-type="snippet"][data-oe-name]').each(function () {
|
||||
var $div = $('<div/>').insertAfter(this).append(this).attr('name', $(this).data('oe-name'));
|
||||
|
||||
Reference in New Issue
Block a user