From 18777d9520a9d254c953d7c50f4c0752be0ef630 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 18 Aug 2014 02:21:52 +1000 Subject: [PATCH] Add sortable handle to event players --- assets/css/admin.css | 2 +- assets/js/admin/sportspress-admin.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/css/admin.css b/assets/css/admin.css index 1c5fbd62..0ca632b1 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -241,7 +241,7 @@ table.widefat select.sp-outcome { width: 100%; } -table.widefat.sp-sortable-table tbody tr { +table.widefat.sp-sortable-table tbody tr .icon { cursor: move; } diff --git a/assets/js/admin/sportspress-admin.js b/assets/js/admin/sportspress-admin.js index 7bea5462..5494603d 100644 --- a/assets/js/admin/sportspress-admin.js +++ b/assets/js/admin/sportspress-admin.js @@ -260,6 +260,7 @@ jQuery(document).ready(function($){ // Sortable tables $(".sp-sortable-table tbody").sortable({ + handle: ".icon", axis: "y" });