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:
@@ -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});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user