Skip to content

Instantly share code, notes, and snippets.

@ichaykin
Created March 27, 2020 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ichaykin/9d5862afa5ecaac6eaa4b0773e2489bd to your computer and use it in GitHub Desktop.
Save ichaykin/9d5862afa5ecaac6eaa4b0773e2489bd to your computer and use it in GitHub Desktop.
diff --git a/js/tygh/live_editor_mode.js b/js/tygh/live_editor_mode.js
index 8ed9666..abcc609 100644
--- a/js/tygh/live_editor_mode.js
+++ b/js/tygh/live_editor_mode.js
@@ -264,7 +264,6 @@
str_len = value.length ? value.length : 1;
if (elm.is('input')) {
- value = $.formatPrice(value.replace(new RegExp(',', 'g'), ''));
elm.attr('size', str_len);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment