aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/install.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-12 12:45:32 +0100
committerArthurHoaro <arthur@hoa.ro>2017-03-12 12:45:32 +0100
commitb9b41d25e319f44f9fb8259a0237a8ee81ad394b (patch)
tree2926d2d9c5fdf0310372efa02c11efcf0bd0d428 /tpl/default/install.html
parent196808e14f4df44faea4d010c062c09f36095d9b (diff)
downloadShaarli-b9b41d25e319f44f9fb8259a0237a8ee81ad394b.tar.gz
Shaarli-b9b41d25e319f44f9fb8259a0237a8ee81ad394b.tar.zst
Shaarli-b9b41d25e319f44f9fb8259a0237a8ee81ad394b.zip
Remove inline JS and add LibreJS headers in JS files
Fixes #33 (wow!) Relates to #395
Diffstat (limited to 'tpl/default/install.html')
-rw-r--r--tpl/default/install.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/tpl/default/install.html b/tpl/default/install.html
index 0bd8a635..33f8a453 100644
--- a/tpl/default/install.html
+++ b/tpl/default/install.html
@@ -105,18 +105,5 @@
105</div> 105</div>
106</form> 106</form>
107{include="page.footer"} 107{include="page.footer"}
108<script>
109 // FIXME!
110 (function (window, document) {
111 var toRemove = document.getElementById('timezone-remove');
112 var firstSelect = toRemove.getElementsByTagName('select')[0];
113 var secondSelect = toRemove.getElementsByTagName('select')[1];
114 toRemove.parentNode.removeChild(toRemove);
115 var toAdd = document.getElementById('timezone-add');
116 var newTimezone = '<span class="timezone-continent">Continent ' + firstSelect.outerHTML + '</span>';
117 newTimezone += ' <span class="timezone-country">Country ' + secondSelect.outerHTML + '</span>';
118 toAdd.innerHTML = newTimezone;
119 })(this, this.document);
120</script>
121</body> 108</body>
122</html> 109</html>