1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

SimpleLog extended for iframes (#1302)

This commit is contained in:
nobody
2023-01-20 06:48:18 +01:00
parent 9dfdfb79d4
commit 4de7637259
7 changed files with 30 additions and 8 deletions

View File

@@ -21,10 +21,10 @@
var log = {};
log.append = function (initiator, resource, target, highlight) {
log.append = function (initiator, resource, target, highlight, iframe = '') {
storageManager.type.get(Setting.LOGGING, function (items) {
if (items.enableLogging) {
log.data.push({initiator, resource, target, highlight});
log.data.push({initiator, resource, target, highlight, iframe});
}
});
};