Update infinite scroll plugin for $.fn.infinitescroll.destroy
This commit is contained in:
parent
75234a511d
commit
bc8b6097bc
2 changed files with 3 additions and 3 deletions
|
|
@ -195,5 +195,6 @@ end
|
||||||
|
|
||||||
And /^I scroll down$/ do
|
And /^I scroll down$/ do
|
||||||
evaluate_script("window.scrollBy(0,3000000)")
|
evaluate_script("window.scrollBy(0,3000000)")
|
||||||
|
sleep 1
|
||||||
wait_until(10) { evaluate_script('$("#infscr-loading:visible").length') == 0 }
|
wait_until(10) { evaluate_script('$("#infscr-loading:visible").length') == 0 }
|
||||||
end
|
end
|
||||||
|
|
|
||||||
5
public/javascripts/vendor/jquery.infinitescroll.min.js
generated
vendored
5
public/javascripts/vendor/jquery.infinitescroll.min.js
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue