diff --git a/src/lib/annotations/annotations.html b/src/lib/annotations/annotations.html index 596687d891..e6d56d0737 100644 --- a/src/lib/annotations/annotations.html +++ b/src/lib/annotations/annotations.html @@ -279,7 +279,7 @@ } var name = slot.getAttribute('name'); if (name) { - content.setAttribute('select', '[slot=\'' + attr.value + '\']'); + content.setAttribute('select', '[slot=\'' + name + '\']'); } else { content.setAttribute('select', ':not([slot])'); }