mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-25 17:42:37 +01:00
Fixed: Rule generator
This commit is contained in:
parent
705129c7d1
commit
628bba2e35
@ -24,13 +24,14 @@ var ruleGenerator = {};
|
|||||||
* Public Methods
|
* Public Methods
|
||||||
*/
|
*/
|
||||||
ruleGenerator.openRuleSet = function ({ target }) {
|
ruleGenerator.openRuleSet = function ({ target }) {
|
||||||
let urls = mappings.cdn;
|
let urls, key, textArea, btnCopy, content;
|
||||||
let key = target.getAttribute('data-option');
|
|
||||||
|
|
||||||
let textArea = document.getElementById('generated-rules');
|
urls = CDNs;
|
||||||
let btnCopy = document.getElementById('button-copy-rule-set');
|
key = target.getAttribute('data-option');
|
||||||
|
textArea = document.getElementById('generated-rules');
|
||||||
|
btnCopy = document.getElementById('button-copy-rule-set');
|
||||||
|
content = '';
|
||||||
|
|
||||||
let content = '';
|
|
||||||
|
|
||||||
textArea.style.display = 'block';
|
textArea.style.display = 'block';
|
||||||
btnCopy.style.display = 'block';
|
btnCopy.style.display = 'block';
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
<li>Added: plyr SVG (<a href="https://codeberg.org/nobody/LocalCDN/issues/165">#165</a>)</li>
|
<li>Added: plyr SVG (<a href="https://codeberg.org/nobody/LocalCDN/issues/165">#165</a>)</li>
|
||||||
<li>Added CDN: cdn.plyr.io (<a href="https://codeberg.org/nobody/LocalCDN/issues/165">#165</a>)</li>
|
<li>Added CDN: cdn.plyr.io (<a href="https://codeberg.org/nobody/LocalCDN/issues/165">#165</a>)</li>
|
||||||
<li>Fixed: Twitter Bootstrap (<a href="https://codeberg.org/nobody/LocalCDN/issues/166">#166</a>)</li>
|
<li>Fixed: Twitter Bootstrap (<a href="https://codeberg.org/nobody/LocalCDN/issues/166">#166</a>)</li>
|
||||||
|
<li>Fixed: Rule generator</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
<div class="topic-label">
|
<div class="topic-label">
|
||||||
|
Loading…
Reference in New Issue
Block a user