Compare View

switch
from
...
to
 
Commits (2)
src/components/modal/confirm.js
@@ -109,7 +109,8 @@ Modal.newInstance = properties => { @@ -109,7 +109,8 @@ Modal.newInstance = properties => {
109 on: { 109 on: {
110 input: (status) => { 110 input: (status) => {
111 this.visible = status; 111 this.visible = status;
112 - } 112 + },
  113 + 'on-cancel': this.cancel
113 } 114 }
114 }, [ 115 }, [
115 h('div', { 116 h('div', {