initial
This commit is contained in:
11
utils/handleShowRTPInRulesOption.js
Normal file
11
utils/handleShowRTPInRulesOption.js
Normal file
@@ -0,0 +1,11 @@
|
||||
export default function handleShowRTPInRulesOption() {
|
||||
if (!__OPTIONS__.ui.show_rtp_in_rules) {
|
||||
const styleEl = document.createElement('style');
|
||||
styleEl.textContent = `
|
||||
#section_rtp {
|
||||
display: none !important;
|
||||
}
|
||||
`;
|
||||
document.head.appendChild(styleEl);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user