Skip to content

Commit 99b2b79

Browse files
committed
template tag name fix
1 parent 4f38b8f commit 99b2b79

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/ui-scroll.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui-scroll.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/modules/padding.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function Cache() {
4141
export default function Padding(template) {
4242
let result;
4343

44-
switch (template.tagName) {
44+
switch (template.tagName.toLowerCase()) {
4545
case 'dl':
4646
throw new Error(`ui-scroll directive does not support <${template.tagName}> as a repeating tag: ${template.outerHTML}`);
4747
case 'tr':

0 commit comments

Comments
 (0)