]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion demo: Cleanup.
authorScott González <scott.gonzalez@gmail.com>
Fri, 31 Aug 2012 12:57:59 +0000 (08:57 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 31 Aug 2012 12:57:59 +0000 (08:57 -0400)
demos/accordion/hoverintent.html

index 65ca6f09f89fa7d18a5ef68f60ea0ea47fb7dada..706bbc12886bb5b074c99b4b1ba59a179a111077 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
 <html lang="en">
 <head>
        <meta charset="utf-8">
        <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;