Add initial upgrade button version

This is currently always hidden
This commit is contained in:
Johannes Zellner
2016-04-08 13:57:19 +02:00
parent 275d8c2121
commit 103c0bd688
3 changed files with 77 additions and 1 deletions

View File

@@ -134,6 +134,16 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
}
});
$('.upgrade .trigger').hover(function () {
$('.upgrade .content')[0].classList.add('active');
$('.upgrade .trigger')[0].classList.add('active');
});
$('.upgrade').hover(function () {}, function () {
$('.upgrade .content')[0].classList.remove('active');
$('.upgrade .trigger')[0].classList.remove('active');
});
// setup all the dialog focus handling
['updateModal'].forEach(function (id) {
$('#' + id).on('shown.bs.modal', function () {