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

Fixed: Rule generator

This commit is contained in:
nobody
2020-11-08 21:55:40 +01:00
parent 04a3a6cd6e
commit b0bb2add31

View File

@ -26,7 +26,7 @@ var ruleGenerator = {};
ruleGenerator.openRuleSet = function ({ target }) { ruleGenerator.openRuleSet = function ({ target }) {
let urls, key, textArea, btnCopy, content; let urls, key, textArea, btnCopy, content;
urls = CDNs; urls = mappings.cdn;
key = target.getAttribute('data-option'); key = target.getAttribute('data-option');
textArea = document.getElementById('generated-rules'); textArea = document.getElementById('generated-rules');
btnCopy = document.getElementById('button-copy-rule-set'); btnCopy = document.getElementById('button-copy-rule-set');