sr-npm 1.7.79 → 1.7.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.79",
3
+ "version": "1.7.81",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,7 +31,7 @@ await init(_$w);
31
31
  function activateAutoLoad(_$w)
32
32
  {
33
33
  _$w("#jobsDataset").onReady(() => {
34
- updateCount();
34
+ updateCount(_$w);
35
35
  _$w("#section2").onViewportEnter(() => {
36
36
  if (currentLoadedItems<_$w("#jobsDataset").getTotalCount()) {
37
37
  loadMoreJobs(_$w);
@@ -124,7 +124,7 @@ async function handlePageParam(_$w,page) {
124
124
 
125
125
  async function bind(_$w) {
126
126
  await _$w('#jobsDataset').onReady(async () => {
127
- await updateCount();
127
+ await updateCount(_$w);
128
128
 
129
129
  });
130
130