Skip to content

Commit

Permalink
rephrase comment as TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
samthor committed Aug 15, 2017
1 parent 9e63a09 commit 1b68912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dialog-polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@
if (testForm.method !== 'dialog') {
var methodDescriptor = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, 'method');
if (methodDescriptor) {
// 'method' doesn't exist in old versions of PhantomJS, don't replace it
// TODO: older iOS and older PhantomJS fail to return the descriptor here
var realGet = methodDescriptor.get;
methodDescriptor.get = function() {
if (isFormMethodDialog(this)) {
Expand Down

0 comments on commit 1b68912

Please sign in to comment.