mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 07:17:58 +01:00
Scroll any focused scrollable element rather than the entire window. Closes issue #61.
This commit is contained in:
@@ -1079,8 +1079,7 @@ const liberator = (function () //{{{
|
||||
{
|
||||
if (typeof msg == "object")
|
||||
msg = util.objectToString(msg);
|
||||
else
|
||||
msg += "\n";
|
||||
msg = String.replace(msg, /\n?$/, "\n");
|
||||
window.dump(msg.replace(/^./gm, ("config" in modules && config.name.toLowerCase()) + ": $&"));
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user