From 913f275c092d4d6631a0d745f1d382759d3513c0 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 20 Jun 2015 18:01:57 +0200 Subject: sortable tabs --- src/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/index.html b/src/index.html index 846c00f..ed3d1fd 100644 --- a/src/index.html +++ b/src/index.html @@ -26,6 +26,14 @@ tabs.tabs( 'refresh' ); }); + tabs.find( ".ui-tabs-nav" ).sortable( { + axis: "x", + stop: function( ) { + var tabs = $( "#tabs" ).tabs( ); + tabs.tabs( "refresh" ); + } + }); + }); $(document).ready( function( ) { -- cgit v1.2.3-54-g00ecf