1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 08:07:59 +01:00

Fix double command output for things like :ls|ls

This commit is contained in:
Kris Maglione
2010-10-15 20:31:20 -04:00
parent b940a9db96
commit e38b856829
3 changed files with 7 additions and 8 deletions

View File

@@ -359,10 +359,7 @@ const Buffer = Module("buffer", {
* @property {string} The current top-level document's URL, sans any
* fragment identifier.
*/
get URI() {
let loc = window.content.location;
return loc.href.substr(0, loc.href.length - loc.hash.length);
},
get URI() window.content.document.documentURI,
/**
* @property {number} The buffer's height in pixels.