2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fhemweb.js: change let to var for old tablet support (Forum #129647)

git-svn-id: https://svn.fhem.de/fhem/trunk@26526 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-10-12 07:10:23 +00:00
parent e5f2204761
commit fec867f416

View File

@ -1321,7 +1321,7 @@ FW_longpoll()
if(FW_serverGenerated)
since = FW_serverLastMsg + (FW_serverGenerated-FW_serverFirstMsg);
let inform = encodeURIComponent("type=status;filter="+filter+
var inform = encodeURIComponent("type=status;filter="+filter+
";since="+since+";fmt=JSON"); // 128651
var query = "?XHR=1"+
"&inform="+inform+
@ -2242,14 +2242,14 @@ FW_checkNotifydev(reName)
function
FW_rescueClient(pid, key)
{
let html='<div id="rescueDialog" style="display:none">';
var html='<div id="rescueDialog" style="display:none">';
if(!pid || pid == "0") {
html += '<b>Key (send it to the rescuer):</b><br>'+
(key ? '<code>'+key+'</code>' : 'Not found, generate one first');
html += '<br><br>';
}
let buttons = [];
var buttons = [];
if(key) {
if(pid && pid != "0") {