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 6c4e375 commit b65db8dCopy full SHA for b65db8d
src/pat/inject/inject.js
@@ -960,7 +960,6 @@ const inject = {
960
return $html;
961
},
962
963
- // XXX: hack
964
_initAutoloadVisible($el, cfgs) {
965
if ($el.data("pat-inject-autoloaded")) {
966
// ignore executed autoloads
@@ -980,7 +979,7 @@ const inject = {
980
979
};
981
$el.click(trigger);
982
983
- // Use case 1: a (heigh-constrained) scrollable parent
+ // Use case 1: a (height-constrained) scrollable parent
984
if ($scrollable.length) {
985
// if scrollable parent and visible -> trigger it
986
// we only look at the closest scrollable parent, no nesting
0 commit comments