[#1396] setup tour, using user.flags.showTour now instead of

localStorage. double check with #1507
This commit is contained in:
Tyler Renelle
2013-09-10 18:06:16 -04:00
parent b7107aa874
commit 598c4445ff
7 changed files with 84 additions and 68 deletions

View File

@@ -1,7 +1,9 @@
'use strict';
habitrpg.controller('NotificationCtrl',
['$scope', '$rootScope', 'User', function ($scope, $rootScope, User) {
['$scope', '$rootScope', 'User', 'Guide', function ($scope, $rootScope, User, Guide) {
Guide.initTour();
function growlNotification(html, type) {
$.bootstrapGrowl(html, {