- template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div><div><a class="btn btn-default tutorial-off" href="#-" id="tutoff'+i+'">×</a><a style="float:right" class="btn btn-default tutorial-next" href="#-" id="nt'+i+'">' + but + '</a></div></div>'
- }).on('shown.bs.popover', function () {
- if (!$(e).data('tut-yet')) {
- $("#tutoff"+i).on('click', tutoff);
- $("#nt"+i).on('click', tut);
- $(e).data('tut-yet', 'yes');
- }