Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up var declarations

  • Loading branch information...
commit c499aae09da5452c1decbd85dc4ca52893c9435f 1 parent 3baa1f3
@jherdman jherdman authored josevalim committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/rails.js
View
6 src/rails.js
@@ -119,9 +119,9 @@ jQuery(function ($) {
/**
* disable-with handlers
*/
- var disable_with_input_selector = 'input[data-disable-with]';
- var disable_with_form_remote_selector = 'form[data-remote]:has(' + disable_with_input_selector + ')';
- var disable_with_form_not_remote_selector = 'form:not([data-remote]):has(' + disable_with_input_selector + ')';
+ var disable_with_input_selector = 'input[data-disable-with]',
+ disable_with_form_remote_selector = 'form[data-remote]:has(' + disable_with_input_selector + ')',
+ disable_with_form_not_remote_selector = 'form:not([data-remote]):has(' + disable_with_input_selector + ')';
var disable_with_input_function = function () {
$(this).find(disable_with_input_selector).each(function () {
Please sign in to comment.
Something went wrong with that request. Please try again.