|
|
@ -92,16 +92,25 @@ define([
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return h('nav.navbar.navbar-expand-lg',
|
|
|
|
var button = h('button.navbar-toggler', {
|
|
|
|
h('a.navbar-brand', { href: '/index.html'}),
|
|
|
|
|
|
|
|
h('button.navbar-toggler', {
|
|
|
|
|
|
|
|
'type':'button',
|
|
|
|
'type':'button',
|
|
|
|
'data-toggle':'collapse',
|
|
|
|
/*'data-toggle':'collapse',
|
|
|
|
'data-target':'#menuCollapse',
|
|
|
|
'data-target':'#menuCollapse',
|
|
|
|
'aria-controls': 'menuCollapse',
|
|
|
|
'aria-controls': 'menuCollapse',
|
|
|
|
'aria-expanded':'false',
|
|
|
|
'aria-expanded':'false',
|
|
|
|
'aria-label':'Toggle navigation'
|
|
|
|
'aria-label':'Toggle navigation'*/
|
|
|
|
}, h('i.fa.fa-bars ')),
|
|
|
|
}, h('i.fa.fa-bars '));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(button).click(function () {
|
|
|
|
|
|
|
|
if ($('#menuCollapse').is(':visible')) {
|
|
|
|
|
|
|
|
return void $('#menuCollapse').slideUp();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$('#menuCollapse').slideDown();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return h('nav.navbar.navbar-expand-lg',
|
|
|
|
|
|
|
|
h('a.navbar-brand', { href: '/index.html'}),
|
|
|
|
|
|
|
|
button,
|
|
|
|
h('div.collapse.navbar-collapse.justify-content-end#menuCollapse', [
|
|
|
|
h('div.collapse.navbar-collapse.justify-content-end#menuCollapse', [
|
|
|
|
//h('a.nav-item.nav-link', { href: '/what-is-cryptpad.html'}, Msg.topbar_whatIsCryptpad), // Moved the FAQ
|
|
|
|
//h('a.nav-item.nav-link', { href: '/what-is-cryptpad.html'}, Msg.topbar_whatIsCryptpad), // Moved the FAQ
|
|
|
|
h('a.nav-item.nav-link', { href: '/faq.html'}, Msg.faq_link),
|
|
|
|
h('a.nav-item.nav-link', { href: '/faq.html'}, Msg.faq_link),
|
|
|
|