Sha256: 6c783bace2530f97ffc1d33905acd44ecafc3dfcd95db22d91c9d1f29e930370

Contents?: true

Size: 898 Bytes

Versions: 10

Compression:

Stored size: 898 Bytes

Contents

$(document).ready(function () {
  var safuiAlert = $('#safeui-alert')
  if (safuiAlert) {
    safuiAlert
      .first()
      .delay(10000)
      .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'
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
appscms-tools-theme-2.5.4 assets/js/theme.js
appscms-tools-theme-2.5.3 assets/js/theme.js
appscms-tools-theme-2.5.2 assets/js/theme.js
appscms-tools-theme-2.5.1 assets/js/theme.js
appscms-tools-theme-2.4.9 assets/js/theme.js
appscms-tools-theme-2.4.8 assets/js/theme.js
appscms-tools-theme-2.4.7 assets/js/theme.js
appscms-tools-theme-2.4.4 assets/js/theme.js
appscms-tools-theme-2.4.3 assets/js/theme.js
appscms-tools-theme-2.4.2 assets/js/theme.js