From 04b5e3e52bfc557a407d6e5528699958a5d3b0d6 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 12 Apr 2013 14:55:08 +0100 Subject: [PATCH] minor cleanups to the #toolbox - ensure each added item in plugins has a space before - use   in links so they're not split over lines - make case consistant between core IITC and plugins --- main.js | 4 ++-- plugins/guess-player-levels.user.js | 2 +- plugins/portal-counts.user.js | 2 +- plugins/portals-list.user.js | 2 +- plugins/scoreboard.user.js | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/main.js b/main.js index b4249655..122658a5 100644 --- a/main.js +++ b/main.js @@ -89,8 +89,8 @@ document.getElementsByTagName('body')[0].innerHTML = '' + '
' + ' ' + '
' - + ' permalink' - + ' About IITC
' + + ' Permalink' + + ' About IITC' + ' ' + '' + '
' diff --git a/plugins/guess-player-levels.user.js b/plugins/guess-player-levels.user.js index 95de9666..778101df 100644 --- a/plugins/guess-player-levels.user.js +++ b/plugins/guess-player-levels.user.js @@ -23,7 +23,7 @@ if(typeof window.plugin !== 'function') window.plugin = function() {}; window.plugin.guessPlayerLevels = function() {}; window.plugin.guessPlayerLevels.setupCallback = function() { - $('#toolbox').append('guess player levels '); + $('#toolbox').append(' Guess player levels'); addHook('portalAdded', window.plugin.guessPlayerLevels.extractPortalData); } diff --git a/plugins/portal-counts.user.js b/plugins/portal-counts.user.js index 2a40807f..7730c29c 100644 --- a/plugins/portal-counts.user.js +++ b/plugins/portal-counts.user.js @@ -99,7 +99,7 @@ window.plugin.portalcounts.getPortals = function(){ } var setup = function() { - $('#toolbox').append('Portalcounts'); + $('#toolbox').append(' Portal&sbsp;counts'); $('head').append('