From ccfd5eaa2edaf077b18918bb63160028f54581dc Mon Sep 17 00:00:00 2001 From: bohung Date: Thu, 8 Sep 2022 09:49:59 +0800 Subject: [PATCH] Fix bug. --- app/controllers/asks_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/asks_controller.rb b/app/controllers/asks_controller.rb index dd47d05..c6f3aa9 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__.clone().replaceAll(new); + old_.clone().replaceAll(new_); } } }