Permalink
Browse files

Updated v numbers

  • Loading branch information...
1 parent 9d5d340 commit e5c9d2419bff8fbeac65f35a63b18fcf1043768c @scaron scaron committed Mar 7, 2012
Showing with 5 additions and 4 deletions.
  1. +1 −1 README
  2. +4 −3 js/jquery.prettyPhoto.js
View
@@ -1,4 +1,4 @@
-prettyPhoto v3.1.3
+prettyPhoto v3.1.4
© Copyright, Stephane Caron
http://www.no-margin-for-errors.com
@@ -2,10 +2,10 @@
Class: prettyPhoto
Use: Lightbox clone for jQuery
Author: Stephane Caron (http://www.no-margin-for-errors.com)
- Version: 3.1.3
+ Version: 3.1.4
------------------------------------------------------------------------- */
(function($) {
- $.prettyPhoto = {version: '3.1.3'};
+ $.prettyPhoto = {version: '3.1.4'};
$.fn.prettyPhoto = function(pp_settings) {
pp_settings = jQuery.extend({
@@ -888,7 +888,8 @@
function getHashtag(){
url = location.href;
- hashtag = (url.indexOf('#') !== -1) ? decodeURI(url.substring(url.indexOf('#')+2,url.length)) : false;
+ hashtag = (url.indexOf('#prettyPhoto') !== -1) ? decodeURI(url.substring(url.indexOf('#prettyPhoto')+1,url.length)) : false;
+
return hashtag;
};

0 comments on commit e5c9d24

Please sign in to comment.