Fixed mobile UI effect list not loading
This commit is contained in:
parent
4fd904fbcc
commit
a371239172
@ -8,6 +8,7 @@
|
|||||||
<meta content="yes" name="apple-mobile-web-app-capable">
|
<meta content="yes" name="apple-mobile-web-app-capable">
|
||||||
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAGACGAAAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAE1JREFUOI1j/P//PwOxgNGeAUMxE9G6cQCKDWAhpADZ2f8PMjBS3QW08QK20KaZC2gfC9hCnqouoNgARgY7zMxAyNlUdQHlXiAlO2MDAD63EVqNHAe0AAAAAElFTkSuQmCC"/>
|
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAGACGAAAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAE1JREFUOI1j/P//PwOxgNGeAUMxE9G6cQCKDWAhpADZ2f8PMjBS3QW08QK20KaZC2gfC9hCnqouoNgARgY7zMxAyNlUdQHlXiAlO2MDAD63EVqNHAe0AAAAAElFTkSuQmCC"/>
|
||||||
<title>WLED 0.8.3</title>
|
<title>WLED 0.8.3</title>
|
||||||
|
<script>function feedback(){}</script>
|
||||||
<style>
|
<style>
|
||||||
*{transition-duration: 0.5s;}
|
*{transition-duration: 0.5s;}
|
||||||
body {
|
body {
|
||||||
@ -375,7 +376,7 @@ var recv=1;
|
|||||||
var nla=false;
|
var nla=false;
|
||||||
var lbri=222;
|
var lbri=222;
|
||||||
//Feedback
|
//Feedback
|
||||||
function feedback(){
|
feedback = function() {
|
||||||
var e = d.body;
|
var e = d.body;
|
||||||
e.classList.remove("feedbackanim");
|
e.classList.remove("feedbackanim");
|
||||||
void e.offsetWidth;
|
void e.offsetWidth;
|
||||||
@ -465,7 +466,7 @@ if (d.getElementById('myoos-n').checked)
|
|||||||
function fillfx(fp){
|
function fillfx(fp){
|
||||||
e="Error loading list!";
|
e="Error loading list!";
|
||||||
el = d.getElementById(fp?'fpl':'fxl');
|
el = d.getElementById(fp?'fpl':'fxl');
|
||||||
fetch(fp?'/json/palettes':'http://10.10.1.52/json/effects')
|
fetch(fp?'/json/palettes':'/json/effects')
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
el.innerHTML=e;
|
el.innerHTML=e;
|
||||||
@ -543,7 +544,6 @@ function GIO()
|
|||||||
d.getElementsByClassName("desc")[0].innerHTML = this.responseXML.getElementsByTagName('ds')[0].innerHTML;
|
d.getElementsByClassName("desc")[0].innerHTML = this.responseXML.getElementsByTagName('ds')[0].innerHTML;
|
||||||
recv =1;
|
recv =1;
|
||||||
uB();
|
uB();
|
||||||
setTimeout(fillfx, 500);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
request.open("GET", "win" +nocache, true);
|
request.open("GET", "win" +nocache, true);
|
||||||
|
2359
wled00/html_mobile.h
2359
wled00/html_mobile.h
File diff suppressed because it is too large
Load Diff
@ -78,7 +78,7 @@
|
|||||||
|
|
||||||
|
|
||||||
//version code in format yymmddb (b = daily build)
|
//version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 1902121
|
#define VERSION 1902122
|
||||||
char versionString[] = "0.8.3";
|
char versionString[] = "0.8.3";
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user