Skip to content

Commit

Permalink
Extend dijit durations from 200ms to 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Nov 27, 2023
1 parent bcc7010 commit 4c77598
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions UI/lib/ui-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@
<%= htmlWebpackPlugin.tags.headTags %>
<link href="js/dojo/resources/dojo.css" rel="stylesheet">
<link href="js/css/[% dojo_theme %].css" rel="stylesheet">
[%- IF form.stylesheet %]
<link href="js/css/[% form.stylesheet %]" rel="stylesheet">
[%- ELSIF stylesheet %]
[%- IF stylesheet %]
<link href="js/css/[% stylesheet %]" rel="stylesheet">
[%- END %]
[%- FOREACH s = include_stylesheet %]
Expand All @@ -48,13 +46,19 @@
END;
%]
<script>
window.alert("[% ALERT %]");
let h;
h = () => {
window.removeEventListener('DOMContentLoaded', h);
window.alert("[% ALERT %]");
};
window.addEventListener('DOMContentLoaded', h);
</script>
[% END %]
<script>
var dojoConfig = {
async: 1,
parseOnLoad: false,
defaultDuration: 1000,
locale: "[% USER.language %]",
packages: [{"name":"lsmb","location":"../lsmb"}],
mode: "<%= htmlWebpackPlugin.options.mode %>"
Expand Down

0 comments on commit 4c77598

Please sign in to comment.