[Rt-commit] rt branch, 4.6/fontawesome-icons, repushed
Blaine Motsinger
blaine at bestpractical.com
Wed Oct 23 20:51:06 EDT 2019
The branch 4.6/fontawesome-icons was deleted and repushed:
was 6e1d80f335e421b72cf09fabec0bd6b43fb3ef98
now 8adcaa33bf66449d865e5f7011124d24216b62cd
1: 4f90e82c9 = 1: 4f90e82c9 Add project-diagram to fontawesome SVG build
2: a94b7b92a = 2: a94b7b92a Replace text links with fontawesome SVGs
3: a57b22952 = 3: a57b22952 Remove timer and bookmark css and images
4: 07614c640 = 4: 07614c640 Add alt and title tooltips for new icons
5: 6e1d80f33 ! 5: 8adcaa33b Enable bootstrap tooltips in the js
@@ -11,6 +11,14 @@
}
+
+// enable bootstrap tooltips
-+jQuery(window).on('load', function() {
-+ jQuery('[data-toggle="tooltip"]').tooltip();
++// the sleep time is added to ensure all of the document is really loaded.
++// it's non-blocking so only our function sleeps.
++jQuery(function() {
++ function sleep(milliseconds) {
++ return new Promise( function(resolve) { setTimeout(resolve, milliseconds) } );
++ }
++
++ sleep(500).then( function() {
++ jQuery('[data-toggle="tooltip"]').tooltip();
++ });
+});
More information about the rt-commit
mailing list