aboutsummaryrefslogtreecommitdiff
path: root/gmap_arcgis.js
diff options
context:
space:
mode:
Diffstat (limited to 'gmap_arcgis.js')
-rw-r--r--gmap_arcgis.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmap_arcgis.js b/gmap_arcgis.js
index 81f4f44..9e59f15 100644
--- a/gmap_arcgis.js
+++ b/gmap_arcgis.js
@@ -566,7 +566,7 @@ function gmapArcgis(config) {
var max = (self.config.sliders[slider].max != undefined) ? self.config.sliders[slider].max : 1;
var step = (self.config.sliders[slider].step != undefined) ? self.config.sliders[slider].step : 1;
- if (type == 'selectToUISlider' && jQuery.selectToUISlider) {
+ if (type == 'selectToUISlider' && jQuery.fn.selectToUISlider != undefined) {
jQuery(element).selectToUISlider({
sliderOptions: {
slide: function(event, ui) {
@@ -575,7 +575,7 @@ function gmapArcgis(config) {
}
}).hide();
}
- else if (jQuery.slider) {
+ else if (jQuery.fn.slider != undefined) {
// Max is the number of layers in the service
jQuery(element).slider({
value: value,