Mercurial > hg > cmmr2012-drupal-site
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/assets/vendor/jquery.ui/ui/disable-selection-min.js Thu Jul 05 14:24:15 2018 +0000 @@ -0,0 +1,4 @@ +/*! jQuery UI - v1.12.1 - 2017-03-31 +* http://jqueryui.com +* Copyright jQuery Foundation and other contributors; Licensed */ +!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")}})}); \ No newline at end of file