]> source.dussan.org Git - jquery-ui.git/commitdiff
restrict sort to x axis
authorScott Jehl <scott@scottjehl.com>
Fri, 20 Feb 2009 18:38:21 +0000 (18:38 +0000)
committerScott Jehl <scott@scottjehl.com>
Fri, 20 Feb 2009 18:38:21 +0000 (18:38 +0000)
demos/tabs/sortable.html

index 5cfe9e92eede9f4ae765fff64b53f22bd4cc3eb8..1b0d458bdb9b60fde65a9f84872095cbf1e34df8 100644 (file)
@@ -10,7 +10,7 @@
        <link type="text/css" href="../demos.css" rel="stylesheet" />
        <script type="text/javascript">
        $(function() {
-               $("#tabs").tabs().find(".ui-tabs-nav").sortable();
+               $("#tabs").tabs().find(".ui-tabs-nav").sortable({axis:'x'});
        });
        </script>
 </head>