mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-02-16 07:05:17 -05:00
demos draggable handle: disable text selection
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
$(function() {
|
||||
$("#draggable").draggable({ handle: 'p' });
|
||||
$("#draggable2").draggable({ cancel: "p.ui-widget-header" });
|
||||
$(".ui-draggable").disableSelection();
|
||||
$("div, p").disableSelection();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user