diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..47c68d4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.idea/vcs.xml +/.idea/workspace.xml diff --git a/archive-post-order-plus.php b/archive-post-order-plus.php index 124f371..ebdf7e4 100644 --- a/archive-post-order-plus.php +++ b/archive-post-order-plus.php @@ -42,6 +42,9 @@ function apop_register_my_styles() { wp_enqueue_script( 'jquery-ui-sortable' ); wp_enqueue_script( 'jquery-ui-autocomplete' ); wp_enqueue_script( 'post-sort-cat-order_js', APOP_PLUGIN_URL . 'js/apop-style.js' ); + if ( wp_is_mobile() ) { + wp_enqueue_script( 'jquery-touch-punch' ); + } } $APOP->set_query();