芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/public_html/wp-content/plugins/chaty/src/components/rule-button.js
const $ = window.jQuery; export default function ruleButtonHandler() { $('.create-rule').on('click', function() { const $parent = $(this).parents('.chaty-option-box'); $parent.addClass('show-remove-rule-button'); }) $('.remove-rules').on('click', function() { const $parent = $(this).parents('.chaty-option-box'); $parent.removeClass('show-remove-rule-button'); }) }