Skip to content

Commit

Permalink
Fix spelling in CoffeeScript and JavaScript files [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed May 5, 2021
1 parent 869532c commit 90b8ad5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions actionview/app/assets/javascripts/rails-ujs.coffee
Expand Up @@ -32,8 +32,8 @@
# Form file input elements
fileInputSelector: 'input[name][type=file]:not([disabled])'

# Link onClick disable selector with possible reenable after remote submission
# Link onClick disable selector with possible re-enable after remote submission
linkDisableSelector: 'a[data-disable-with], a[data-disable]'

# Button onClick disable selector with possible reenable after remote submission
# Button onClick disable selector with possible re-enable after remote submission
buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]'
2 changes: 1 addition & 1 deletion actionview/test/ujs/public/vendor/jquery-2.2.0.js
Expand Up @@ -5265,7 +5265,7 @@ function domManip( collection, args, callback, ignored ) {
if ( hasScripts ) {
doc = scripts[ scripts.length - 1 ].ownerDocument;

// Reenable scripts
// Re-enable scripts
jQuery.map( scripts, restoreScript );

// Evaluate executable scripts on first document insertion
Expand Down

0 comments on commit 90b8ad5

Please sign in to comment.