Jump to content

User talk:Ioeth/friendlytabs.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nx (talk | contribs) at 10:05, 4 July 2009 (Incompatible with new vector skin). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Incompatible with new vector skin

This script breaks vector visually, e.g. the edit and view source tabs move up a bit. The reason is that the innerHTML of document.getElementById( FriendlyConfig.idsToRename[i].id ).firstChild.innerHTML in vector is a span with the caption in it, not just the caption text. This can be fixed in several ways, e.g. you could use a loop to go down until there are no children, and then modify the last childs innerHTML to the new caption. --  Nx/talk  10:05, 4 July 2009 (UTC)[reply]