Update system_info.php (#2885)

@WebShells for you to review, but I think that removing that code will fix #2860
This commit is contained in:
jekkos
2020-07-21 22:20:52 +02:00
committed by GitHub
parent b65f68b677
commit 9cc38765c3

View File

@@ -173,13 +173,6 @@
clipboard.on('error', function(e) {
console.log(e);
});
function clearSelection() {
window.getSelection().removeAllRanges();
}
document.onmouseup = function() {
window.setTimeout(clearSelection, 100);
};
document.getElementById("timezone").innerText = Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -190,4 +183,4 @@
if($('#timezone').html() !== $('#ostimezone').html())
document.getElementById("TimeError").innerHTML = '<font color="red"><?php echo $this->lang->line('config_timezone_error'); ?></font><br><br><?php echo $this->lang->line('config_user_timezone'); ?><div id="timezoneE" style="font-weight:600;"></div><br><?php echo $this->lang->line('config_os_timezone'); ?><div id="ostimezoneE" style="font-weight:600;"><?php echo $this->config->item('timezone'); ?></div><br>';
</script>
</div>
</div>