Skip to content

Commit

Permalink
Merge pull request johnpolacek#56 from callumacrae/fix-global
Browse files Browse the repository at this point in the history
Fixed johnpolacek#55: multiple scrolloramas are now possible
  • Loading branch information
johnpolacek committed Jan 7, 2015
2 parents 55261f7 + 30bfe89 commit 4904f53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/jquery.scrollorama.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

(function($) {
$.scrollorama = function(options) {
var scrollorama = this,
var scrollorama = {},
blocks = [],
browserPrefix = '',
ieVersion = '',
Expand Down Expand Up @@ -588,4 +588,4 @@ function uaMatch(ua) {
browser: match[ 1 ] || "",
version: match[ 2 ] || "0"
};
}
}

0 comments on commit 4904f53

Please sign in to comment.