Skip to content

Commit 4297a15

Browse files
committed
Fix jshint warnings
1 parent 5309c5d commit 4297a15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/rails.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122
data.push(button);
123123
element.data('ujs:submit-button', null);
124124
}
125-
element.data('ujs:submit-button-formmethod', null)
126-
element.data('ujs:submit-button-formaction', null)
125+
element.data('ujs:submit-button-formmethod', null);
126+
element.data('ujs:submit-button-formaction', null);
127127
} else if (element.is(rails.inputChangeSelector)) {
128128
method = element.data('method');
129129
url = element.data('url');
@@ -514,7 +514,7 @@
514514

515515
// Save attributes from button
516516
form.data('ujs:formnovalidate-button', button.attr('formnovalidate'));
517-
form.data('ujs:submit-button-formaction', button.attr('formaction'))
517+
form.data('ujs:submit-button-formaction', button.attr('formaction'));
518518
form.data('ujs:submit-button-formmethod', button.attr('formmethod'));
519519
});
520520

0 commit comments

Comments
 (0)