Minification and compression
This commit is contained in:
10
static/assets/js/bootstrap.js
vendored
10
static/assets/js/bootstrap.js
vendored
@@ -2,8 +2,14 @@
|
||||
// Default Trusted Type policy so Svelte hydration can assign to innerHTML under CSP require-trusted-types-for 'script'.
|
||||
if (typeof window.trustedTypes !== 'undefined' && window.trustedTypes.createPolicy) {
|
||||
try {
|
||||
window.trustedTypes.createPolicy('default', { createHTML: function (input) { return input; } });
|
||||
} catch { /* policy already exists */ }
|
||||
window.trustedTypes.createPolicy('default', {
|
||||
createHTML: function (input) {
|
||||
return input;
|
||||
},
|
||||
});
|
||||
} catch {
|
||||
/* policy already exists */
|
||||
}
|
||||
}
|
||||
|
||||
var t = localStorage.getItem('mifi-theme');
|
||||
|
||||
Reference in New Issue
Block a user