diff --git a/app/views/kebapage/photos/photos.js.erb b/app/views/kebapage/photos/photos.js.erb index 8076b5c..d5b0596 100644 --- a/app/views/kebapage/photos/photos.js.erb +++ b/app/views/kebapage/photos/photos.js.erb @@ -1,3 +1,3 @@ <% @uploads.each do |photo| %> - document.wysi.data("wysihtml5").editor.composer.setValue($('#static_page_content').val() + ""); + document.wysi.data("wysihtml5").editor.composer.setValue(document.wysi.val() + ''); <% end %> \ No newline at end of file