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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user