5digits / dactyl

Pentadactyl and other related Gecko extensions
Other
467 stars 98 forks source link

Use [].concat instead of Array.concat #172

Open betaveros opened 7 years ago

betaveros commented 7 years ago

It appears that Array.concat('foo') gives an array with a String object instead of a primitive string value, and this breaks things. (I have no idea why Array.concat even worked at all in the first place; it definitely fails in Chrome, for example. Only Array.prototype.concat seems to exist.)

Fixes setting the defsearch option.