From 31b330208be52d77cdf0d72d03c7d1fbcec2c2e7 Mon Sep 17 00:00:00 2001 From: Mario Ranftl Date: Sun, 8 Oct 2023 16:37:40 +0200 Subject: [PATCH] fix a multi items, add sponsor tooltip --- client/app/fonts/fonts.controller.js | 6 +++- client/app/fonts/fonts.html | 42 ++++++++++------------------ client/index.html | 1 + 3 files changed, 20 insertions(+), 29 deletions(-) diff --git a/client/app/fonts/fonts.controller.js b/client/app/fonts/fonts.controller.js index 457364f..68a7e31 100644 --- a/client/app/fonts/fonts.controller.js +++ b/client/app/fonts/fonts.controller.js @@ -44,7 +44,11 @@ angular.module('googleWebfontsHelperApp') $scope.sponsorsPromise = $http.get('https://sponsors.mranftl.com/json') .success(function (data) { $scope.sponsors = data.sponsors; - $scope.busy = false; + + setTimeout(function () { + $('[data-toggle="tooltip"]').tooltip(); + }, 0); + }) // err is not handled, because it is not critical $scope.scrollListTop = function() { diff --git a/client/app/fonts/fonts.html b/client/app/fonts/fonts.html index 9bab4eb..cde8a84 100644 --- a/client/app/fonts/fonts.html +++ b/client/app/fonts/fonts.html @@ -50,46 +50,32 @@ - - - diff --git a/client/index.html b/client/index.html index a79f40c..1de67aa 100644 --- a/client/index.html +++ b/client/index.html @@ -44,6 +44,7 @@ +