mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
@ -123,12 +123,12 @@ export class Button {
|
||||
}
|
||||
|
||||
} else if (childNode.nodeType === 1) {
|
||||
if (childNode.nodeName === 'ICON') {
|
||||
if (childNode.nodeName === 'ION-ICON') {
|
||||
// icon element node
|
||||
nodes.push(ICON);
|
||||
|
||||
} else {
|
||||
// element other than an <icon>
|
||||
// element other than an <ion-icon>
|
||||
nodes.push(TEXT);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user