aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/configure.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/configure.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/configure.html')
-rw-r--r--tpl/default/configure.html13
1 files changed, 0 insertions, 13 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index 2f54a085..f24ac435 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -222,19 +222,6 @@
222</form> 222</form>
223 223
224{include="page.footer"} 224{include="page.footer"}
225
226<script>
227 (function (window, document) {
228 var toRemove = document.getElementById('timezone-remove');
229 var firstSelect = toRemove.getElementsByTagName('select')[0];
230 var secondSelect = toRemove.getElementsByTagName('select')[1];
231 toRemove.parentNode.removeChild(toRemove);
232 var toAdd = document.getElementById('timezone-add');
233 var newTimezone = '<span class="timezone-continent">Continent ' + firstSelect.outerHTML + '</span>';
234 newTimezone += ' <span class="timezone-country">Country ' + secondSelect.outerHTML + '</span>';
235 toAdd.innerHTML = newTimezone;
236 })(this, this.document);
237</script>
238</body> 225</body>
239</html> 226</html>
240 227