Permalink
Browse files

'added disable play button option for galleries with one photo, fixed…

… softtabs'
  • Loading branch information...
1 parent 5183714 commit 6dce1ff61fe0f9097423ac90810e7d237006ddc4 @jasonlcrane jasonlcrane committed with ChrisMcKee Feb 15, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/assets/photoswipe.css
  2. +1 −1 src/toolbar.class.js
  3. +1 −1 src/toolbar.js
@@ -161,7 +161,7 @@ div.ps-toolbar-play div.ps-toolbar-content
}
div.ps-toolbar-play-disabled div.ps-toolbar-content
{
- background-position: -88px -44px;
+ background-position: -88px -44px;
}
/* Hi-res display */
View
@@ -455,7 +455,7 @@
Util.DOM.removeClass(this.previousEl, PhotoSwipe.Toolbar.CssClasses.previousDisabled);
Util.DOM.removeClass(this.nextEl, PhotoSwipe.Toolbar.CssClasses.nextDisabled);
- Util.DOM.removeClass(this.playEl, PhotoSwipe.Toolbar.CssClasses.playDisabled);
+ Util.DOM.removeClass(this.playEl, PhotoSwipe.Toolbar.CssClasses.playDisabled);
if (index > 0 && index < this.cache.images.length-1){
return;
View
@@ -18,7 +18,7 @@
captionContent: 'ps-caption-content',
close: 'ps-toolbar-close',
play: 'ps-toolbar-play',
- playDisabled: 'ps-toolbar-play-disabled',
+ playDisabled: 'ps-toolbar-play-disabled',
previous: 'ps-toolbar-previous',
previousDisabled: 'ps-toolbar-previous-disabled',
next: 'ps-toolbar-next',

0 comments on commit 6dce1ff

Please sign in to comment.