Skip to content

Commit 24d9499

Browse files
Fix erroneous early return.
1 parent 8780763 commit 24d9499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prototype/dom/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3359,7 +3359,7 @@
33593359
* failure handler (since we didn't supply one).
33603360
**/
33613361
function addMethods(methods) {
3362-
if (arguments.length === 0) return addFormMethods();
3362+
if (arguments.length === 0) addFormMethods();
33633363

33643364
if (arguments.length === 2) {
33653365
// Tag names have been specified.

0 commit comments

Comments
 (0)