mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 13:37:03 +03:00
make changelog halfway readable
This commit is contained in:
@@ -279,7 +279,10 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
var [ver, idf, cfg, branch] = release.name.split('#');
|
var [ver, idf, cfg, branch] = release.name.split('#');
|
||||||
var body = release.body.replace(/\\n/ig, "<br />").replace(/\'/ig, "\"");
|
var body = release.body;
|
||||||
|
body = body.replace(/\'/ig, "\"");
|
||||||
|
body = body.replace(/[\s\S]+(### Revision Log[\s\S]+)### ESP-IDF Version Used[\s\S]+/, "$1");
|
||||||
|
body = body.replace(/- \(.+?\) /g, "- ");
|
||||||
var [date, time] = release.created_at.split('T');
|
var [date, time] = release.created_at.split('T');
|
||||||
$("#releaseTable").append(
|
$("#releaseTable").append(
|
||||||
"<tr>"+
|
"<tr>"+
|
||||||
@@ -348,7 +351,6 @@ $(document).ready(function(){
|
|||||||
$( "#connect_manual" ).slideUp( "fast", function() {});
|
$( "#connect_manual" ).slideUp( "fast", function() {});
|
||||||
$( "#connect-wait" ).slideDown( "fast", function() {});
|
$( "#connect-wait" ).slideDown( "fast", function() {});
|
||||||
|
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: '/connect.json',
|
url: '/connect.json',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
@@ -358,7 +360,6 @@ $(document).ready(function(){
|
|||||||
data: { 'timestamp': Date.now()}
|
data: { 'timestamp': Date.now()}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
//now we can re-set the intervals regardless of result
|
//now we can re-set the intervals regardless of result
|
||||||
startCheckStatusInterval();
|
startCheckStatusInterval();
|
||||||
startRefreshAPInterval();
|
startRefreshAPInterval();
|
||||||
|
|||||||
Reference in New Issue
Block a user