PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
← All changes | admin/js/build/options.js +1 -1 2.1.8 → 3.4 View file →
@@ -1 +1 @@
1 -!function(){"use strict";var e=window.wp.i18n;const t=e=>"#"===e[0]?document.getElementById(e.slice(1)):document.querySelectorAll(e),s=t("#option-use-custom-css");s&&(s.addEventListener("change",(function(){t("#option-custom-css").disabled=!this.checked})),s.dispatchEvent(new Event("change"))),document.querySelector("#tablepress-page form").addEventListener("submit",(function(){this.querySelectorAll(":scope input, :scope select, :scope textarea").forEach((e=>e.disabled=!1))}));const n=window?.navigator?.platform?.includes("Mac")?(0,e._x)("⌘","keyboard shortcut modifier key on a Mac keyboard","tablepress"):(0,e._x)("Ctrl+","keyboard shortcut modifier key on a non-Mac keyboard","tablepress"),a=t("#tablepress-options-save-changes"),o=(0,e.sprintf)(a.dataset.shortcut,n);a.title=(0,e.sprintf)((0,e.__)("Keyboard Shortcut: %s","tablepress"),o),window.addEventListener("keydown",(function(e){let t="";(e.ctrlKey||e.metaKey)&&83===e.keyCode&&(t="save-changes"),"save-changes"===t&&(document.activeElement.blur(),a.click(),e.preventDefault())}),!0),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()}))}();
1 +(()=>{"use strict";const e=window.wp.i18n,t=e=>"#"===e[0]?document.getElementById(e.slice(1)):document.querySelectorAll(e),s=t("#option-use-custom-css");s&&(s.addEventListener("change",function(){t("#option-custom-css").disabled=!this.checked}),s.dispatchEvent(new Event("change"))),t("#tablepress-page-form").addEventListener("submit",function(){this.querySelectorAll(":scope input, :scope select, :scope textarea").forEach(e=>e.disabled=!1)}),(t=>{const s=window?.navigator?.platform?.includes("Mac")?(0,e._x)("⌘","keyboard shortcut modifier key on a Mac keyboard","tablepress"):(0,e._x)("Ctrl+","keyboard shortcut modifier key on a non-Mac keyboard","tablepress");t.title=(0,e.sprintf)(t.dataset.shortcut,s),window.addEventListener("keydown",e=>{let s="";(e.ctrlKey||e.metaKey)&&83===e.keyCode&&(s="save-changes"),"save-changes"===s&&(document.activeElement.blur(),t.click(),e.preventDefault())},!0)})(t("#tablepress-options-save-changes"));const n=t("#uninstall-tablepress");n&&n.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()})})();