Jump to content

User talk:Js/6tabs-vector.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SoledadKabocha (talk | contribs) at 05:03, 24 September 2012 (Protocol-relative URL: diff between this script and my copy). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Protocol-relative URL

In the line that sets the src attribute of each icon image:

.attr('src','/media/wikipedia/'+name)

the URL should be protocol-relative, that is:

.attr('src','/media/wikipedia/'+name)

in order to avoid mixed content in the event that someone is using the secure server without HTTPS Everywhere. Does this look right, or am I missing something? SoledadKabocha (talk) 05:28, 21 September 2012 (UTC)[reply]

In other words, diff of the requested edit SoledadKabocha (talk) 05:03, 24 September 2012 (UTC)[reply]