]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tpl/default/install.html
Remove inline JS and add LibreJS headers in JS files
[github/shaarli/Shaarli.git] / tpl / default / install.html
index 0bd8a63559b1b5146132fedea3f3d6f69d287f6c..33f8a45336c4a448505001dbce93d55f88261f34 100644 (file)
 </div>
 </form>
 {include="page.footer"}
-<script>
-  // FIXME!
-  (function (window, document) {
-    var toRemove = document.getElementById('timezone-remove');
-    var firstSelect = toRemove.getElementsByTagName('select')[0];
-    var secondSelect = toRemove.getElementsByTagName('select')[1];
-    toRemove.parentNode.removeChild(toRemove);
-    var toAdd = document.getElementById('timezone-add');
-    var newTimezone = '<span class="timezone-continent">Continent ' + firstSelect.outerHTML + '</span>';
-    newTimezone += ' <span class="timezone-country">Country ' + secondSelect.outerHTML + '</span>';
-    toAdd.innerHTML = newTimezone;
-  })(this, this.document);
-</script>
 </body>
 </html>