aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/install.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-12 12:59:05 +0100
committerGitHub <noreply@github.com>2017-03-12 12:59:05 +0100
commit5eca4ea11ef7c292e8b1352a41db12183e159361 (patch)
tree268362f0c4cc4ef9b19b0a1e93099acb34059a60 /tpl/default/install.html
parentcffc5ce3d1fb1d7154cf1e63ae09987d6528606c (diff)
parentb9b41d25e319f44f9fb8259a0237a8ee81ad394b (diff)
downloadShaarli-5eca4ea11ef7c292e8b1352a41db12183e159361.tar.gz
Shaarli-5eca4ea11ef7c292e8b1352a41db12183e159361.tar.zst
Shaarli-5eca4ea11ef7c292e8b1352a41db12183e159361.zip
Merge pull request #809 from ArthurHoaro/cleanup/inline-js
Remove inline JS and add LibreJS headers in JS files
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>