mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
[Refactor] Tooltip: Move inline javascript to separate js
This commit is contained in:
parent
b365639f22
commit
4df22d2c89
2 changed files with 7 additions and 6 deletions
|
@ -1,9 +1,3 @@
|
|||
<script>
|
||||
$(document).ready(function(){
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Modal -->
|
||||
<div id="winDashCore" class="modal fade" role="dialog" tabindex="-1">
|
||||
<div class="modal-dialog modal-lg" role="document">
|
||||
|
|
7
src/js/tooltip.js
Normal file
7
src/js/tooltip.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
;(function($) {
|
||||
|
||||
$(document).ready(function() {
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
|
||||
}(jQuery));
|
Loading…
Add table
Add a link
Reference in a new issue