'use strict';AC.HorizontalScrolling={enable:function enable(){document.getElementsByTagName('body')[0].classList.add('acp-overflow-table');this.store(true)},disable:function disable(){document.getElementsByTagName('body')[0].classList.remove('acp-overflow-table');this.store(false)},store:function store(enabled){jQuery.post(ajaxurl,{action:'acp_update_table_option_overflow',value:enabled,layout:AC.layout,list_screen:AC.list_screen,_ajax_nonce:AC.ajax_nonce})}};jQuery(document).ready(function($){jQuery('#acp_overflow_list_screen_table-yes').on('click',function(){if($(this).is(':checked')){AC.HorizontalScrolling.enable()}else{AC.HorizontalScrolling.disable()}})});