Disable the trial popup

This commit is contained in:
Johannes Zellner
2016-06-13 16:51:28 +02:00
parent 4e9dc75a37
commit ed4674cd14
2 changed files with 15 additions and 15 deletions

View File

@@ -188,21 +188,21 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
// wait till the view has loaded until showing a modal dialog
Client.onConfig(function (config) {
if (!config.billing) {
setTimeout(function () {
$('.upgrade')[0].classList.remove('hide');
// if (!config.billing) {
// setTimeout(function () {
// $('.upgrade')[0].classList.remove('hide');
$('.upgrade .trigger').hover(function () {
$('.upgrade .content')[0].classList.add('active');
$('.upgrade .trigger')[0].classList.add('active');
});
// $('.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');
});
}, 2000);
}
// $('.upgrade').hover(function () {}, function () {
// $('.upgrade .content')[0].classList.remove('active');
// $('.upgrade .trigger')[0].classList.remove('active');
// });
// }, 2000);
// }
// check if we are actually updating
if (config.progress.update && config.progress.update.percent !== -1) {