(view)
| 2645 | } |
| 2646 | |
| 2647 | function dragDisable(view) { |
| 2648 | var root = view.document.documentElement, |
| 2649 | selection = select(view).on("dragstart.drag", noevent$2, nonpassivecapture); |
| 2650 | if ("onselectstart" in root) { |
| 2651 | selection.on("selectstart.drag", noevent$2, nonpassivecapture); |
| 2652 | } else { |
| 2653 | root.__noselect = root.style.MozUserSelect; |
| 2654 | root.style.MozUserSelect = "none"; |
| 2655 | } |
| 2656 | } |
| 2657 | |
| 2658 | function yesdrag(view, noclick) { |
| 2659 | var root = view.document.documentElement, |
no test coverage detected