From 944b4511e070a1b031e9a941c5db618e3946b8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 16 May 2022 16:23:33 +0100 Subject: [PATCH] Clear remaining XXXs --- customize.dist/pages.js | 19 ------------------- customize.dist/pages/index.js | 4 ---- 2 files changed, 23 deletions(-) diff --git a/customize.dist/pages.js b/customize.dist/pages.js index 706de73d6..21134da95 100644 --- a/customize.dist/pages.js +++ b/customize.dist/pages.js @@ -210,23 +210,6 @@ define([ ]); } - // var button = h('button.navbar-toggler', { - // 'type':'button', - // 'data-toggle':'collapse', - // 'data-target':'#menuCollapse', - // 'aria-controls': 'menuCollapse', - // 'aria-expanded':'false', - // 'aria-label':'Toggle navigation' - // }, h('i.fa.fa-bars ')); - - // // XXX button to collapse navbar on small screens - // $(button).click(function () { - // if ($('#menuCollapse').is(':visible')) { - // return void $('#menuCollapse').slideUp(); - // } - // $('#menuCollapse').slideDown(); - // }); - var isHome = ['/', '/index.html'].includes(window.location.pathname); var homeLink = h('a.nav-item.nav-link.cp-back-home' /* .navbar-brand */, { href: '/index.html' }, [ h('i.fa.fa-arrow-left'), @@ -239,8 +222,6 @@ define([ ]); return h('nav.navbar.navbar-expand-lg', - // button, // XXX collapse button - // add .collapse.navbar-collapse.justify-content-end#menuCollapse to div below to enable collapse button [ !isHome? homeLink: undefined, h('a.nav-item.nav-link', { href: '/features.html'}, [ diff --git a/customize.dist/pages/index.js b/customize.dist/pages/index.js index c19da3fe2..5ed11235b 100644 --- a/customize.dist/pages/index.js +++ b/customize.dist/pages/index.js @@ -126,10 +126,6 @@ define([ // instance title var instanceTitle = h('h1.cp-instance-title', Pages.Instance.name); - // DB: How does TextFit work?! - // setTimeout(function () { - // TextFit(instanceTitle, {minFontSize: 13, maxFontSize: 48}); // XXX DB remove? - // }); // instance location var locationBlock;