Fixed errors caused by poor git-fu.

Forgot I was on a detached head, made a commit, and failed hard at
cherry-picking the commit back to the correct branch.
This commit is contained in:
John Montgomery 2015-03-31 08:55:16 -04:00
parent c2e2122efd
commit e35c753bdc
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ habitrpg.controller("FiltersCtrl", ['$scope', '$rootScope', 'User', 'Shared',
function($scope, $rootScope, User, Shared) {
var user = User.user;
$scope._editing = false;
$scope._newTag = {name:''};
var tagsSnap; // used to compare which tags need updating

View file

@ -20,7 +20,7 @@
//- Add new tag
li.filters-edit(ng-show='_editing')
form.hrpg-input-group
input(type='text', ng-model='_newTag', placeholder=env.t('newTag'))
input(type='text', ng-model='_newTag.name', placeholder=env.t('newTag'))
button(ng-click='createTag()')=env.t('add')
div(ng-if='!areTagsHidden || _editing')
ul(ng-if='_editing')