Files
Testing/blog/wp-content/plugins/stream/ui/js/global.min.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

1 line
611 B
JavaScript

jQuery(function(e){function n(t){window.confirm(wp_stream_global.bulk_actions.i18n.confirm_action)||t.preventDefault()}e('.actions :submit:not([name="filter_action"])').on("click",function(t){e("table.widefat tbody :checkbox:checked").length>wp_stream_global.bulk_actions.threshold&&n(t)}),e("#delete_all").on("click",function(t){parseInt(e("ul.subsubsub li.trash .count").text().replace(/\D/g,""),10)>wp_stream_global.bulk_actions.threshold&&n(t)})});var wp_stream_regenerate_alt_rows=function(t){if(!t.length)return!1;t.removeClass("alternate"),t.each(function(t){jQuery(this).addClass(t%2?"":"alternate")})};