Mercurial > hg > cmmr2012-drupal-site
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 /*! jQuery UI - v1.12.1 - 2017-03-31 | |
2 * http://jqueryui.com | |
3 * Copyright jQuery Foundation and other contributors; Licensed */ | |
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")}})}); |