Clear remaining XXXs

master
David Benqué 3 years ago
parent fc1e78120c
commit 944b4511e0

@ -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 isHome = ['/', '/index.html'].includes(window.location.pathname);
var homeLink = h('a.nav-item.nav-link.cp-back-home' /* .navbar-brand */, { href: '/index.html' }, [ var homeLink = h('a.nav-item.nav-link.cp-back-home' /* .navbar-brand */, { href: '/index.html' }, [
h('i.fa.fa-arrow-left'), h('i.fa.fa-arrow-left'),
@ -239,8 +222,6 @@ define([
]); ]);
return h('nav.navbar.navbar-expand-lg', 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, !isHome? homeLink: undefined,
h('a.nav-item.nav-link', { href: '/features.html'}, [ h('a.nav-item.nav-link', { href: '/features.html'}, [

@ -126,10 +126,6 @@ define([
// instance title // instance title
var instanceTitle = h('h1.cp-instance-title', Pages.Instance.name); 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 // instance location
var locationBlock; var locationBlock;

Loading…
Cancel
Save