Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

Commit

Permalink
Remove call to deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgreenfield committed May 26, 2021
1 parent 1743ecc commit 875823d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "git",
"url": "git://github.com/cgkineo/adapt-nudge.git"
},
"framework": ">=2.0.17",
"version": "2.0.8",
"framework": ">=2.2",
"version": "2.0.9",
"homepage": "https://github.com/cgkineo/adapt-nudge",
"issues": "https://github.com/cgkineo/adapt-nudge/issues/",
"displayName": "Nudge",
Expand Down
4 changes: 3 additions & 1 deletion js/pageNudge.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ define([

if (!showScrollNudge && !showPlpNudge && !showPageCompletionNudge) return;

var componentModels = view.model.findDescendantModels('components');

this._view = view;
this._components = this._view.model.findDescendants('components');
this._components = new Backbone.Collection(componentModels);
this._overlayCount = 0;
this._indicateToUser = false;
this._finished = false;
Expand Down

0 comments on commit 875823d

Please sign in to comment.