Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed indentation

using spaces, for consistency
  • Loading branch information...
commit 490f24b4400e6fd9b1826ef24be7a37fcf3c19e1 1 parent a334571
FND authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/rails.js
View
6 src/rails.js
@@ -51,8 +51,8 @@
// Link elements bound by jquery-ujs
linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote], a[data-disable-with]',
- // Select elements bound by jquery-ujs
- inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
+ // Select elements bound by jquery-ujs
+ inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',
// Form elements bound by jquery-ujs
formSubmitSelector: 'form',
@@ -306,7 +306,7 @@
}
});
- $(rails.inputChangeSelector).live('change.rails', function(e) {
+ $(rails.inputChangeSelector).live('change.rails', function(e) {
var link = $(this);
if (!rails.allowAction(link)) return rails.stopEverything(e);
Please sign in to comment.
Something went wrong with that request. Please try again.