MediaWiki:Common.js: Difference between revisions

no edit summary
(Add dynamic sidebar adjustments for Wiki app)
No edit summary
Line 674: Line 674:


function initWikiAppSidebar() {
function initWikiAppSidebar() {
if (navigator.userAgent.indexOf('median') > -1) {
if (navigator.userAgent.indexOf('gonative melvorwiki') > -1) {
const items = [
const items = [
  {
  {