remove obsolete julius files
This commit is contained in:
parent
e10f725303
commit
63aef9e362
@ -1070,9 +1070,6 @@ siteLayout' headingOverride widget = do
|
||||
addScript $ StaticR js_services_i18n_js
|
||||
-- addScript $ StaticR js_utils_alerts_js
|
||||
-- addScript $ StaticR js_utils_asidenav_js
|
||||
-- addScript $ StaticR js_utils_asyncForm_js
|
||||
-- addScript $ StaticR js_utils_asyncTableFilter_js
|
||||
-- addScript $ StaticR js_utils_httpClient_js
|
||||
-- JavaScript utils
|
||||
addScript $ StaticR js_utils_asyncTable_js
|
||||
addScript $ StaticR js_utils_checkAll_js
|
||||
|
||||
@ -23,7 +23,6 @@ data Modal site = Modal
|
||||
customModal :: Modal site -> WidgetT site IO ()
|
||||
customModal Modal{..} = do
|
||||
let isDynamic = is _Left modalContent
|
||||
modalId' <- maybe newIdent return modalId
|
||||
triggerId' <- maybe newIdent return modalTriggerId
|
||||
|
||||
$(widgetFile "widgets/modal/modal")
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
* (will be set up automatically on tables)
|
||||
*
|
||||
* Example usage:
|
||||
* (table with one column thats only checkboxes)
|
||||
* (table with one column thats only checkboxes)
|
||||
*/
|
||||
|
||||
var CHECK_ALL_UTIL_NAME = 'checkAll';
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
var modal = document.querySelector('#modal-' + #{String modalId'});
|
||||
if (modal) {
|
||||
window.utils.setup('modal', modal);
|
||||
}
|
||||
});
|
||||
@ -1,31 +0,0 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
window.utils = window.utils || {};
|
||||
|
||||
window.utils.stickynav = function (nav) {
|
||||
var ticking = false;
|
||||
|
||||
init();
|
||||
function init() {
|
||||
window.addEventListener('scroll', function (e) {
|
||||
if (!ticking) {
|
||||
window.requestAnimationFrame(update);
|
||||
ticking = true;
|
||||
}
|
||||
}, false);
|
||||
update();
|
||||
}
|
||||
|
||||
function update() {
|
||||
var sticky = window.scrollY > 30;
|
||||
nav.classList.toggle('navbar--sticky', sticky);
|
||||
ticking = false;
|
||||
}
|
||||
}
|
||||
|
||||
})();
|
||||
|
||||
document.addEventListener('setup', function (e) {
|
||||
// utils.stickynav(e.detail.scope.querySelector('.js-sticky-navbar'));
|
||||
});
|
||||
Loading…
Reference in New Issue
Block a user