Merge branch 'master' of github.com:cmcaine/tridactyl

This commit is contained in:
Oliver Blanthorn 2018-07-24 13:07:41 +01:00
commit 70e1e35228
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View file

@ -2323,7 +2323,7 @@ export async function buffer(index: number | "#") {
*/
//#background
export async function bufferall(id: string) {
let windows = (await browser.windows.getAll()).map(w => w.id).sort()
let windows = (await browser.windows.getAll()).map(w => w.id).sort((a, b) => a - b)
if (id === null || id === undefined || !id.match(/\d+\.\d+/)) {
const tab = await activeTab()
let prevId = id