From 4558265b21d454632da88959dc4c807935dfc800 Mon Sep 17 00:00:00 2001 From: Bill Barnes Date: Tue, 18 Mar 2014 16:46:04 -0500 Subject: [PATCH] Update demo + main JS file to work with jQuery 2.1 and jQueryUI 1.10.4 --- assets/js/jquery.desktop.js | 2 +- index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/jquery.desktop.js b/assets/js/jquery.desktop.js index 0125d2f..86675cb 100755 --- a/assets/js/jquery.desktop.js +++ b/assets/js/jquery.desktop.js @@ -102,7 +102,7 @@ var JQD = (function($, window, document, undefined) { // Cancel mousedown. d.mousedown(function(ev) { - var tags = ['a', 'button', 'input', 'select', 'textarea', 'tr']; + var tags = "a,button,input,select,textarea,tr"; if (!$(ev.target).closest(tags).length) { JQD.util.clear_active(); diff --git a/index.html b/index.html index 6ad132f..8aeb164 100755 --- a/index.html +++ b/index.html @@ -1084,8 +1084,8 @@ - - + + !window.jQuery && document.write(unescape('%3Cscript src="assets/js/jquery.js"%3E%3C/script%3E')); !window.jQuery.ui && document.write(unescape('%3Cscript src="assets/js/jquery.ui.js"%3E%3C/script%3E'));