[Rt-commit] rt branch, 4.6/fontawesome-icons, repushed
Blaine Motsinger
blaine at bestpractical.com
Thu Oct 24 10:44:32 EDT 2019
The branch 4.6/fontawesome-icons was deleted and repushed:
was 8adcaa33bf66449d865e5f7011124d24216b62cd
now 259c9e81958d09b4e8a7b9659a320d83dbba2098
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: 8adcaa33b ! 5: 259c9e819 Enable bootstrap tooltips
@@ -1,6 +1,6 @@
Author: Blaine Motsinger <blaine at bestpractical.com>
- Enable bootstrap tooltips in the js
+ Enable bootstrap tooltips
diff --git a/share/static/js/util.js b/share/static/js/util.js
--- a/share/static/js/util.js
@@ -11,14 +11,6 @@
}
+
+// enable bootstrap tooltips
-+// 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();
-+ });
++ jQuery("body").tooltip({ selector: '[data-toggle=tooltip]' });
+});
More information about the rt-commit
mailing list