artlantis / easybox

Automatically exported from code.google.com/p/easybox
0 stars 0 forks source link

previous button in data-group disabed #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

I have 4 Images to display.
They are grouped by data-group, to be able to go to next image.
None of the images get a previous arrow.

I use v1.3 and the distrib.min.js (but it also does not seam to work with none 
minifyed versions)

The prevbtn.png is loaded, but the class "disabled" on id="easyPrevLink" is not 
removed.

I have no js error in console. 

Original issue reported on code.google.com by benjamin...@gmail.com on 17 Oct 2013 at 2:58

GoogleCodeExporter commented 9 years ago
i use jQuery v1.9.1
it seams like the classRemove() wont properly work whithout class name. i added 
in line 358: 

$([prevLink,nextLink]).removeClass('disabled');

this seams to resolve the issue. anyhow, i can't check with other jQuery 
versions cause i use a CMS which wont allow me to change easy.

also i dont know if there are any other classes that need to be removed on any 
other objects

Original comment by benjamin...@gmail.com on 17 Oct 2013 at 3:29