annotate core/assets/vendor/jquery.ui/ui/disable-selection-min.js @ 0:c75dbcec494b
Initial commit from drush-created site
author |
Chris Cannam |
date |
Thu, 05 Jul 2018 14:24:15 +0000 |
parents |
|
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")}})}); |