From f2dfeb29bbc63db8391b0a7b3e0a67123041e67b Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 13 Apr 2013 21:45:30 +0100 Subject: [PATCH] cleanups to the toolbox - remove   - use style sheets to prevent wrapping within links - make more consistant with the cleanups made to the .linkdetails links for #135 --- main.js | 5 +++-- plugins/guess-player-levels.user.js | 2 +- plugins/portal-counts.user.js | 2 +- plugins/portals-list.user.js | 2 +- plugins/scoreboard.user.js | 2 +- style.css | 9 +++++---- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/main.js b/main.js index 22dcb1c7..65880b6e 100644 --- a/main.js +++ b/main.js @@ -89,8 +89,9 @@ 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 778101df..daf5ab7a 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 7730c29c..76800b97 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(' Portal&sbsp;counts'); + $('#toolbox').append(' Portal counts'); $('head').append('