diff --git a/app/controllers/asks_controller.rb b/app/controllers/asks_controller.rb index ca635e8..dd47d05 100644 --- a/app/controllers/asks_controller.rb +++ b/app/controllers/asks_controller.rb @@ -475,7 +475,7 @@ class AsksController < ApplicationController old_input = old_.find('input, select'); if(new_input.length != 0 && old_input.length != 0){ if(new_input.length == old_input.length){ - old_.replaceAll(new_.clone()); + old__.clone().replaceAll(new); } } }