annotate core/assets/vendor/jquery.ui/ui/disable-selection-min.js @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author |
Chris Cannam |
date |
Fri, 23 Feb 2018 15:52:07 +0000 |
parents |
4c8ae668cc8c |
children |
|
rev |
line source |
Chris@0
|
1 /*! jQuery UI - v1.12.1 - 2017-03-31
|
Chris@0
|
2 * http://jqueryui.com
|
Chris@0
|
3 * Copyright jQuery Foundation and other contributors; Licensed */
|
Chris@0
|
4 !function(a){"function"==typeof define&&define.amd?define(["jquery","./version"],a):a(jQuery)}(function(a){return a.fn.extend({disableSelection:function(){var a="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(a+".ui-disableSelection",function(a){a.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}})}); |