]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
Ensure tooltips are working
authorJohannes Zellner <johannes@nebulon.de>
Tue, 1 Mar 2016 16:11:57 +0000 (17:11 +0100)
committerJohannes Zellner <johannes@nebulon.de>
Tue, 1 Mar 2016 16:11:57 +0000 (17:11 +0100)
app/js/app.js

index 11581b66fe21f00d82d1188d6344541a79e13af0..0d6144e37c53023e44f2a2171f1649de2948249b 100644 (file)
@@ -63,6 +63,12 @@ function loadDirectory(filePath) {
         app.entries = result.body.entries;
         app.path = filePath;
         app.pathParts = filePath.split('/').filter(function (e) { return !!e; });
+
+        Vue.nextTick(function () {
+            $(function () {
+                $('[data-toggle="tooltip"]').tooltip();
+            });
+        });
     });
 }