Skip to content

Commit

Permalink
Small follow-up update
Browse files Browse the repository at this point in the history
fixed: mass demo
fixed: replaced preventDefault with return false
  • Loading branch information
fnagel committed Apr 21, 2010
1 parent edfac53 commit 19cf892
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 46 deletions.
7 changes: 7 additions & 0 deletions Lightbox/css/style.css
Expand Up @@ -68,6 +68,9 @@ font-size: 0.6em;
margin: 0 0 1em 0;
height: 14em;
}
#mass .box {
height: auto;
}
a.singleLightbox,
a.seriesLightbox {
padding: 0 0 0.5em 0;
Expand All @@ -90,6 +93,10 @@ ul li{
margin: 0 0.9em 0 0;
list-style-type:none;
}
#mass ul li{
margin: 0 0.85em 0 0;
}
#mass ul li.last,
ul li.last,
a.last{
margin: 0;
Expand Down
4 changes: 2 additions & 2 deletions Lightbox/js/ui.ariaLightbox.js
@@ -1,5 +1,5 @@
/*!
* jQuery UI AriaLightbox legacy (12.04.10)
* jQuery UI AriaLightbox legacy (21.04.10)
* http://github.com/fnagel/jQuery-Accessible-RIA
*
* Copyright (c) 2009 Felix Nagel for Namics (Deustchland) GmbH
Expand Down Expand Up @@ -73,8 +73,8 @@ $.widget("ui.ariaLightbox", {
if (!options.disabled && $(window).width()-options.disableWidth > 0 && $(window).height()-options.disableHeight > 0) {
// set active element if gallery mode is activated
if (options.imageArray) self.options.activeImage = index-1;
event.preventDefault();
self._open($(this), event);
return false;
}
});

Expand Down

0 comments on commit 19cf892

Please sign in to comment.