mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 22:22:27 +01:00
Fix return signature of incrementURL.
This commit is contained in:
@@ -132,7 +132,10 @@ const config = { //{{{
|
|||||||
{
|
{
|
||||||
let matches = buffer.URL.match(/(.*?)(\d+)(\D*)$/);
|
let matches = buffer.URL.match(/(.*?)(\d+)(\D*)$/);
|
||||||
if (!matches)
|
if (!matches)
|
||||||
return liberator.beep();
|
{
|
||||||
|
liberator.beep();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let [, pre, number, post] = matches;
|
let [, pre, number, post] = matches;
|
||||||
let newNumber = parseInt(number, 10) + count;
|
let newNumber = parseInt(number, 10) + count;
|
||||||
|
|||||||
Reference in New Issue
Block a user