]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/richtext.js
Remove .richtext_content css class
[rails.git] / app / assets / javascripts / richtext.js
index 7da465d29f9b78fbb60a6ad9d6c6418cd98b61bd..5d0f956b3498740dd489aec7f6024c4be903f6bc 100644 (file)
@@ -4,7 +4,7 @@ $(document).ready(function () {
    * the associated preview pne so that it will be regenerated when
    * the user next switches to it.
    */
-  $(".richtext_content textarea").change(function () {
+  $(".richtext_container textarea").change(function () {
     $(this).parents(".richtext_container").find(".richtext_preview").empty();
   });