mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 03:17:58 +01:00
Fix zoom level display for fractional percentages.
This commit is contained in:
@@ -1181,8 +1181,9 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
*/
|
||||
reportError: function reportError(error, echo) {
|
||||
if (error instanceof FailedAssertion || error.message === "Interrupted") {
|
||||
let prefix = io.sourcing ? io.sourcing.file + ":" + io.sourcing.line + ": " : "";
|
||||
if (error.message)
|
||||
dactyl.echoerr(template.linkifyHelp(error.message));
|
||||
dactyl.echoerr(template.linkifyHelp(prefix + error.message));
|
||||
else
|
||||
dactyl.beep();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user