Move tooltips/popovers code to layout

This commit is contained in:
2016-11-24 19:43:11 +01:00
parent 01e79f8565
commit 89689db96e
3 changed files with 7 additions and 12 deletions

View File

@@ -1,10 +1,3 @@
if(typeof($.fn.popover) != 'undefined'){
$('[data-toggle="popover"]').popover();
}
if(typeof($.fn.tooltip) != 'undefined'){
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 0, 'hide': 0}});
}
/* Status Bar */
function statusBarClear(delay_class, delay_html){
var statusBar = $("#status-bar");