Skip to content

Commit

Permalink
use getAttribute rather than dereferencing action directly just in ca…
Browse files Browse the repository at this point in the history
…se form has an element named action
  • Loading branch information
Philip Tellis committed Dec 29, 2014
1 parent b9c95e8 commit 71b13a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/rt.js
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ impl = {

onsubmit: function(etarget) {
impl._iterable_click("Submit", "FORM", etarget, function(t) {
var v = t.action || d.URL || "";
var v = t.getAttribute("action") || d.URL || "";
return v.match(/\?/) ? v : v + "?";
});
},
Expand Down

0 comments on commit 71b13a8

Please sign in to comment.