add a clearing div in exercises
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 12 Feb 2013 09:08:59 +0000 (10:08 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 12 Feb 2013 09:08:59 +0000 (10:08 +0100)
lib/librarian
redakcja/static/edumed/js/edumed.coffee

index b25d910..1ffcf32 160000 (submodule)
@@ -1 +1 @@
-Subproject commit b25d910280f7c8573560bbe9ca2718332c438ec3
+Subproject commit 1ffcf32a8d795681f54bd125ca45e908da5ed3fb
index 21cbc86..c3d8fa7 100644 (file)
@@ -119,7 +119,7 @@ class Exercise extends Binding
     if $added.is(".add-li")
       $added.wrap("<li/>")
 
     if $added.is(".add-li")
       $added.wrap("<li/>")
 
-    $added.append('<span class="remove">x</span>')
+    $added.append('<span class="remove">x</span><div class="clr"></div>')
     $('.remove', $added).click (ev) =>
       if not ismultiple
         $($added.data('original')).removeClass('disabled').draggable('enable')
     $('.remove', $added).click (ev) =>
       if not ismultiple
         $($added.data('original')).removeClass('disabled').draggable('enable')