changeset 1002:ff2f2d0fa8ad

IE doesn't like class, neither
author hertzhaft
date Mon, 13 Feb 2012 16:08:00 +0100
parents b8c7e4fa0770
children 07af442509de
files webapp/src/main/webapp/jquery/jquery.digilib.buttons.js
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/jquery.digilib.buttons.js	Mon Feb 13 15:32:40 2012 +0100
+++ b/webapp/src/main/webapp/jquery/jquery.digilib.buttons.js	Mon Feb 13 16:08:00 2012 +0100
@@ -380,7 +380,7 @@
         var cssPrefix = digilibdata.settings.cssPrefix;
         var defaults = {
             'id' : 'slider',
-            'class' : cssPrefix+'slider',
+            'cssclass' : cssPrefix+'slider',
             'label' : 'Slider',
             'direction' : 'x',
             'handlesize' : 16,
@@ -400,8 +400,8 @@
                     var data = $this.data('settings');
                     if (!data) {
                         $this.data('settings', settings);
-                        $this.addClass(settings.class);
-                        var $sliderhandle = $('<div class="'+settings.class+'handle" />');
+                        $this.addClass(settings.cssclass);
+                        var $sliderhandle = $('<div class="'+settings.cssclass+'handle" />');
                         settings.$handle = $sliderhandle;
                         $this.append($sliderhandle);
                         }