]> source.dussan.org Git - jquery-ui.git/commitdiff
Spinner: Address review comments
authorAlexander Schmitz <arschmitz@gmail.com>
Wed, 16 Sep 2015 05:53:52 +0000 (01:53 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Thu, 8 Oct 2015 18:02:58 +0000 (14:02 -0400)
ui/widgets/spinner.js

index 43bc694a502ae3976d5bdaf3e37ec7633c1ad4ee..b89c9d3ad12f9a1abd6cdec91ba1e0928721aa82 100644 (file)
@@ -230,8 +230,7 @@ $.widget( "ui.spinner", {
 
                                // Add buttons
                                .append(
-                                       "<a></a>" +
-                                       "<a></a>"
+                                       "<a></a><a></a>"
                                );
        },
 
@@ -564,9 +563,7 @@ if ( $.uiBackCompat !== false ) {
                },
 
                _buttonHtml: function() {
-                       return "" +
-                               "<a></a>" +
-                               "<a></a>";
+                       return "<a></a><a></a>";
                }
        } );
 }