# tablepress/2.0.4/admin/js/build/options.js

TablePress – Tables in WordPress made easy, version 2.0.4. 1 lines.

- Page: https://pluginprobe.com/plugins/tablepress/2.0.4/code/admin/js/build/options.js
- Raw: https://pluginprobe.com/plugins/tablepress/2.0.4/raw/admin/js/build/options.js
- Modified: 2022-12-19T11:32:06+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tablepress/2.0.4/code/admin/js/build/options.js#L10-L20`.

```javascript
(()=>{"use strict";const e=window.wp.i18n,t=e=>"#"===e[0]?document.getElementById(e.slice(1)):document.querySelectorAll(e),n=t("#option-use-custom-css");n&&(n.addEventListener("change",(function(){t("#option-custom-css").disabled=!this.checked})),n.dispatchEvent(new Event("change"))),document.querySelector("#tablepress-page form").addEventListener("submit",(function(){this.querySelectorAll("input, select, textarea").forEach((e=>e.disabled=!1))})),t("#uninstall-tablepress").addEventListener("click",(t=>{confirm((0,e.__)("Do you really want to uninstall TablePress and delete ALL data?","tablepress"))&&confirm((0,e.__)("Are you really sure?","tablepress"))||t.preventDefault()}))})();
```
