Skip to content
Snippets Groups Projects

Resolve "HTML - Use sib-directory"

Merged Ghost User requested to merge gm-sib-directory into master
14 files
+ 79
139
Compare changes
  • Side-by-side
  • Inline
Files
14
+ 6
0
@@ -6,6 +6,12 @@ document.addEventListener('DOMContentLoaded', function (event) {
if (!navBar || !btnToggle) return;
document.querySelectorAll('img[name$="account.picture"]').forEach(function (e) {
if (!e.src || e.src == window.location) {
e.src = '/images/user.jpg';
}
});
btnToggle.addEventListener('click', e => {
navBar.classList.toggle('open');
e.stopPropagation();
Loading