X-Git-Url: http://git.scottworley.com/roundrobintaborder/blobdiff_plain/6cc6bf8d78b375ca6c1db0ba4570ef069e1621a0..dbc13896420d28954031c11d2ac8f7bed412b786:/extension.js diff --git a/extension.js b/extension.js index 3b5a6a6..ca2b003 100644 --- a/extension.js +++ b/extension.js @@ -4,7 +4,7 @@ * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * or version 3 of the License (at your option). * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -38,7 +38,7 @@ function enable() { global.display.get_tab_list = function(type, workspace) { const ret = oldGetTabList.call(this, type, workspace); const currentWindow = global.display.get_focus_window().get_id(); - ret.sort((a, b) => roundRobinRomparitor(currentWindow, a, b)); + ret.sort((a, b) => roundRobinComparitor(currentWindow, a, b)); return ret; }; }