Fixed my css and javascript problems
This commit is contained in:
parent
cd703970b4
commit
560afc6b0a
@ -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) ->
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user