Fixed my css and javascript problems

This commit is contained in:
Will Cosgrove 2012-04-11 15:35:23 -05:00
parent cd703970b4
commit 560afc6b0a
2 changed files with 3 additions and 3 deletions

View File

@ -78,10 +78,10 @@ class Locomotive.Views.ContentTypes.CustomFieldEntryView extends Backbone.View
form = @$('ol')
if form.is(':hidden')
@$('this').addClass('open')
@$('a.toggle').addClass('open')
form.slideDown()
else
@$('this').removeClass('open')
@$('a.toggle').removeClass('open')
form.slideUp()
show_error: (message) ->

View File

@ -158,7 +158,7 @@ form.formtastic {
background-image: image-url("locomotive/list/icons/toggle.png");
}
&.open {
@include rotate(180);
@include rotate(180deg);
}
@include single-transition(transform, 0.5s);
}