assets/js/theme.js in appscms-tools-theme-2.4.5 vs assets/js/theme.js in appscms-tools-theme-2.4.6
- old
+ new
@@ -7,5 +7,21 @@
.slideUp(1000, function () {
$(this).remove()
})
}
})
+var removeNav = () => {
+ let homeLink = document.getElementById('home-link')
+ homeLink.style.marginRight = '10px'
+ document.getElementById('h1-img-wrapper').prepend(homeLink)
+ document
+ .getElementById('h1-img-wrapper')
+ .style.setProperty('align-items', 'unset', 'important')
+ document.getElementById('header').style.display = 'none'
+ document.getElementById('h1-img').style.display = 'none'
+ document.getElementById('feature-h1').style.width = '100%'
+ document.getElementById('feature-h2').style.display = 'none'
+ let safeUiAlert = document.getElementById('safeui-alert')
+ if (safeUiAlert) {
+ safeUiAlert.style.display = 'none'
+ }
+}