mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 19:45:46 +01:00
Replace older values with :sty/:hi -append rather than simply concatenating the old string.
This commit is contained in:
@@ -207,14 +207,7 @@ const RangeFinder = Module("rangefinder", {
|
||||
"Highlight all /find pattern matches on the current page after submission",
|
||||
"boolean", false, {
|
||||
setter: function (value) {
|
||||
try {
|
||||
if (value)
|
||||
rangefinder.highlight();
|
||||
else
|
||||
rangefinder.clear();
|
||||
}
|
||||
catch (e) {}
|
||||
|
||||
rangefinder[value ? "highlight" : "clear"]();
|
||||
return value;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user