Permalink
Browse files

Issue #121- Hide the navSelector upon initialization

  • Loading branch information...
1 parent 9ee821a commit 8c92abab0af69cf36d5d6884c7cfecaceac3d62f @67726e 67726e committed Dec 6, 2012
View
@@ -4,7 +4,7 @@
The jQuery and Wordpress Plugins:
-* jQuery Plugin <http://www.infinite-scroll.com/infinite-scroll-jquery-plugin/> `v2.0b.110415`
+* jQuery Plugin <http://www.infinite-scroll.com/infinite-scroll-jquery-plugin/> `v2.0b.120520`
* Wordpress Plugin <http://www.infinite-scroll.com/installation/>
As of version 2.0, option names have changed. Here is a list:
@@ -78,7 +78,7 @@
var instance = this,
opts = instance.options;
- opts.v = '2.0b2.111027';
+ opts.v = '2.0b2.120520';
// if behavior is defined and this function is extended, call that instead of default
if (!!opts.behavior && this['_binding_'+opts.behavior] !== undefined) {
@@ -116,6 +116,8 @@
return false;
}
+ $(opts.navSelector).hide();
+
// Validate page fragment path
var path = $(opts.nextSelector).attr('href');
if (!path) {
View
@@ -1,6 +1,6 @@
{
"name": "jquery-infinite-scroll",
- "version": "2.0b2.120519",
+ "version": "2.0b2.120520",
"dependencies": {
"jquery": "~1.7.2"
}
@@ -78,7 +78,7 @@
var instance = this,
opts = instance.options;
- opts.v = '2.0b2.111027';
+ opts.v = '2.0b2.120520';
// if behavior is defined and this function is extended, call that instead of default
if (!!opts.behavior && this['_binding_'+opts.behavior] !== undefined) {
@@ -116,6 +116,8 @@
return false;
}
+ $(opts.navSelector).hide();
+
// Validate page fragment path
var path = $(opts.nextSelector).attr('href');
if (!path) {

0 comments on commit 8c92aba

Please sign in to comment.