aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/slider/slider_horizontal.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/slider/slider_horizontal.html')
-rw-r--r--tests/visual/slider/slider_horizontal.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/visual/slider/slider_horizontal.html b/tests/visual/slider/slider_horizontal.html
index c816a718b..fb6fe1027 100644
--- a/tests/visual/slider/slider_horizontal.html
+++ b/tests/visual/slider/slider_horizontal.html
@@ -9,7 +9,7 @@
<script type="text/javascript" src="../../../ui/ui.slider.js"></script>
<script type="text/javascript">
$(function() {
- $("#slider-horizontal").slider({
+ $("body").children(":first").slider({
orientation: 'horizontal',
value: 50
});
@@ -18,7 +18,7 @@
</head>
<body>
-<div id="slider-horizontal"></div>
+<div></div>
</body>
</html>