mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 04:07:59 +01:00
Don't use modes.clear() to clear the last message and some collateral fixes.
This commit is contained in:
@@ -161,7 +161,7 @@ const Buffer = Module("buffer", {
|
||||
// called when the active document is scrolled
|
||||
_updateBufferPosition: function _updateBufferPosition() {
|
||||
statusline.updateBufferPosition();
|
||||
modes.show(); // Clear the status line.
|
||||
commandline.clear();
|
||||
},
|
||||
|
||||
onDOMContentLoaded: function onDOMContentLoaded(event) {
|
||||
@@ -273,7 +273,7 @@ const Buffer = Module("buffer", {
|
||||
util.timeout(function () {
|
||||
statusline.updateBufferPosition();
|
||||
statusline.updateZoomLevel();
|
||||
modes.show(); // Clear the status line.
|
||||
commandline.clear();
|
||||
}, 500);
|
||||
},
|
||||
// called at the very end of a page load
|
||||
@@ -295,7 +295,7 @@ const Buffer = Module("buffer", {
|
||||
if (ssli == 1)
|
||||
statusline.updateUrl();
|
||||
else if (ssli == 2)
|
||||
modes.show();
|
||||
commandline.clear();
|
||||
}
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user