aboutsummaryrefslogtreecommitdiffstats
path: root/demos/accordion
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-08-31 08:57:59 -0400
committerScott González <scott.gonzalez@gmail.com>2012-08-31 08:57:59 -0400
commitc135fc18a392476e5163376aed85525a80575e24 (patch)
treebf104d0754bbba912e64c94ee67fdbee30f576f0 /demos/accordion
parentdec9c54632be191947c310b402810cf6f1b4250a (diff)
downloadjquery-ui-c135fc18a392476e5163376aed85525a80575e24.tar.gz
jquery-ui-c135fc18a392476e5163376aed85525a80575e24.zip
Accordion demo: Cleanup.
Diffstat (limited to 'demos/accordion')
-rw-r--r--demos/accordion/hoverintent.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/accordion/hoverintent.html b/demos/accordion/hoverintent.html
index 65ca6f09f..706bbc128 100644
--- a/demos/accordion/hoverintent.html
+++ b/demos/accordion/hoverintent.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
@@ -11,11 +11,11 @@
<link rel="stylesheet" href="../demos.css">
<script>
$(function() {
- $("#accordion").accordion({
+ $( "#accordion" ).accordion({
event: "click hoverintent"
});
});
-
+
var cfg = ($.hoverintent = {
sensitivity: 7,
interval: 100
@@ -33,7 +33,7 @@
args = arguments,
target = $( event.target ),
cX, cY, pX, pY;
-
+
function track( event ) {
cX = event.pageX;
cY = event.pageY;