1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-11 07:05:47 +01:00

Get rid of absurd strict JS warnings.

This commit is contained in:
Kris Maglione
2009-11-14 04:38:36 -05:00
parent dcedb36e9b
commit 91fd0e1169
29 changed files with 292 additions and 285 deletions

View File

@@ -173,8 +173,10 @@ const StatusLine = Module("statusline", {
*/
updateTabCount: function updateTabCount(delayed) {
if (liberator.has("tabs")) {
if (delayed)
return void this.setTimeout(function () this.updateTabCount(false), 0);
if (delayed) {
this.setTimeout(function () this.updateTabCount(false), 0);
return;
}
// update the ordinal which is used for numbered tabs
if (options.get("guioptions").has("n", "N"))