1
0
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:
Kris Maglione
2009-10-06 20:19:12 -04:00
parent 63e0ef561d
commit f8bbd77356
2 changed files with 76 additions and 22 deletions

View File

@@ -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()) + ": $&"));
},