diff --git a/app/assets/javascripts/app/controllers/_ui_element/select.js.coffee b/app/assets/javascripts/app/controllers/_ui_element/select.js.coffee index bf1f79976..a290eb92a 100644 --- a/app/assets/javascripts/app/controllers/_ui_element/select.js.coffee +++ b/app/assets/javascripts/app/controllers/_ui_element/select.js.coffee @@ -1,7 +1,7 @@ class App.UiElement.select extends App.UiElement.ApplicationUiElement @render: (attribute, params, form_controller) -> - # set multible option + # set multiple option if attribute.multiple attribute.multiple = 'multiple' else diff --git a/app/assets/javascripts/app/lib/app_post/utils.js.coffee b/app/assets/javascripts/app/lib/app_post/utils.js.coffee index 2a7b43e16..8e2ad5eb1 100644 --- a/app/assets/javascripts/app/lib/app_post/utils.js.coffee +++ b/app/assets/javascripts/app/lib/app_post/utils.js.coffee @@ -6,7 +6,7 @@ class App.Utils .replace(/(\r\n|\n\r)/g, "\n") # cleanup .replace(/\r/g, "\n") # cleanup .replace(/[ ]\n/g, "\n") # remove tailing spaces - .replace(/\n{3,20}/g, "\n\n") # remove multible empty lines + .replace(/\n{3,20}/g, "\n\n") # remove multiple empty lines # htmlEscapedAndLinkified = App.Utils.text2html( rawText ) @text2html: ( ascii ) -> @@ -34,7 +34,7 @@ class App.Utils $('