Various bug fix due to CSP headers

SiteLibrary added name display on album view
Optimizations & removed some obsolete files
This commit is contained in:
2022-04-09 20:45:48 +08:00
parent 3b4ba29b6e
commit b0ecbe42c3
27 changed files with 214 additions and 665 deletions
+2 -3
View File
@@ -22,6 +22,7 @@
var config = null;
var SiteFile = ns[ NS_INVOKE ]( "SiteFile" );
var BLANK_IMG = __import( "Dandelion.StaticRes.BLANK_IMG" );
var Album = function ( id, hash )
{
@@ -56,9 +57,7 @@
ostage.appendChild( Dand.wrapne(
"div"
, Dand.wrapna( "img", [
new IKey( "src", "data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" )
] )
, Dand.wrapna( "img", [ new IKey( "src", BLANK_IMG ) ] )
, [ new IKey( "id", uuid ), new DataKey( "size", "medium" ) ]
) );