Move tooltips/popovers code to layout
This commit is contained in:
@@ -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 */
|
/* Status Bar */
|
||||||
function statusBarClear(delay_class, delay_html){
|
function statusBarClear(delay_class, delay_html){
|
||||||
var statusBar = $("#status-bar");
|
var statusBar = $("#status-bar");
|
||||||
|
@@ -419,6 +419,13 @@ html(lang="en")
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (typeof $().tooltip != 'undefined'){
|
||||||
|
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 0, 'hide': 0}});
|
||||||
|
}
|
||||||
|
if(typeof($.fn.popover) != 'undefined'){
|
||||||
|
$('[data-toggle="popover"]').popover();
|
||||||
|
}
|
||||||
|
|
||||||
| {% block footer_scripts %}{% endblock %}
|
| {% block footer_scripts %}{% endblock %}
|
||||||
|
|
||||||
script.
|
script.
|
||||||
|
@@ -165,8 +165,3 @@ script(type="text/javascript").
|
|||||||
}
|
}
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
if (typeof $().tooltip != 'undefined'){
|
|
||||||
$('[data-toggle="tooltip"]').tooltip({'delay' : {'show': 0, 'hide': 0}});
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user