Skip to content

Commit

Permalink
document.URL was incorrect (bad nickg)
Browse files Browse the repository at this point in the history
  • Loading branch information
client9 committed May 1, 2010
1 parent a16140c commit 7c4ce40
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/html/document.js
Expand Up @@ -301,10 +301,7 @@ __extend__(HTMLDocument.prototype, {
* https://developer.mozilla.org/en/DOM/document.URL
*/
get URL() {
return this.location;
},
set URL(url) {
this.location = url;
return this.location.href;
},

/**
Expand Down

0 comments on commit 7c4ce40

Please sign in to comment.