MediaWiki:Mobile.js: Difference between revisions

From Teltonika Networks Wiki
No edit summary
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for users using the mobile site */
 
var newClass= document.createElement('div');
newClass.className = "logo";
var a = document.createElement("a");
a.href = '/';
newClass.appendChild(a);
var img = document.createElement('img');
img.src= 'https://wiki.teltonika-networks.com/wiki/skins/teltonika_only_logo.svg?bb794';
a.appendChild(img);
document.getElementsByClassName("branding-box")[0].appendChild(newClass);

Latest revision as of 11:32, 22 October 2019