1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

UI adjustments for premium adverts

This commit is contained in:
Kyle Spearrin
2017-07-07 09:11:45 -04:00
parent ed13644a02
commit b380d723b7
9 changed files with 68 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.global')
.controller('premiumRequiredController', function ($scope, $state, $uibModalInstance, $analytics) {
.controller('premiumRequiredController', function ($scope, $state, $uibModalInstance, $analytics, $uibModalStack) {
$analytics.eventTrack('premiumRequiredController', { category: 'Modal' });
$scope.go = function () {
@@ -12,6 +12,6 @@ angular
};
$scope.close = function () {
$uibModalInstance.dismiss('close');
$uibModalStack.dismissAll();
};
});