From 9cc38765c3bf7ad9a255af4bb42b2e7efc9a01fc Mon Sep 17 00:00:00 2001 From: jekkos Date: Tue, 21 Jul 2020 22:20:52 +0200 Subject: [PATCH] Update system_info.php (#2885) @WebShells for you to review, but I think that removing that code will fix #2860 --- application/views/configs/system_info.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/application/views/configs/system_info.php b/application/views/configs/system_info.php index 233ef5d6d..7ea3e56cf 100644 --- a/application/views/configs/system_info.php +++ b/application/views/configs/system_info.php @@ -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 = 'lang->line('config_timezone_error'); ?>

lang->line('config_user_timezone'); ?>

lang->line('config_os_timezone'); ?>
config->item('timezone'); ?>

'; - \ No newline at end of file +