Jump to content

MediaWiki:Mobile.js: Difference between revisions

no edit summary
(Created page with "→‎Any JavaScript here will be loaded for users using the mobile site: var newClass= document.createElement('div'); newClass.className = "logo"; var a = document.createEleme...")
 
No edit summary
Line 6: Line 6:
newClass.appendChild(a);
newClass.appendChild(a);
var img = document.createElement('img');
var img = document.createElement('img');
img.src= 'http://wiki.teltonika-networks.com/skins/Wiki-teltonika-logo-vec.svg?bb794';
img.src= 'https://wiki.teltonika-networks.com/wiki/skins/Wiki-teltonika-logo-vec.svg?bb794';
a.appendChild(img);
a.appendChild(img);
document.getElementsByClassName("branding-box")[0].appendChild(newClass);
document.getElementsByClassName("branding-box")[0].appendChild(newClass);