We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19acb75 commit cd9eb3bCopy full SHA for cd9eb3b
src/ElementQueries.js
@@ -238,7 +238,7 @@
238
* Sometimes, moving an element in the DOM breaks things (issue #171). This method provides a way
239
* to reset all elements and resume working.
240
*/
241
- function reset() {
+ function reset(container) {
242
var query = getQuery(container);
243
244
for (var selector in allQueries) if (allQueries.hasOwnProperty(selector)) {
@@ -499,8 +499,8 @@
499
ElementQueries.instance.update();
500
};
501
502
- ElementQueries.reset = function () {
503
- ElementQueries.instance.reset();
+ ElementQueries.reset = function (container) {
+ ElementQueries.instance.reset(container);
504
505
506
/**
0 commit comments