fix to onFinish callback flow

This commit is contained in:
lavrton
2015-03-10 19:18:25 +07:00
parent 4334b2a087
commit 74499dd890

View File

@@ -37,7 +37,6 @@
DIV = 'div', DIV = 'div',
RELATIVE = 'relative', RELATIVE = 'relative',
INLINE_BLOCK = 'inline-block',
KONVA_CONTENT = 'konvajs-content', KONVA_CONTENT = 'konvajs-content',
SPACE = ' ', SPACE = ' ',
UNDERSCORE = '_', UNDERSCORE = '_',
@@ -700,7 +699,6 @@
// content // content
this.content = Konva.document.createElement(DIV); this.content = Konva.document.createElement(DIV);
this.content.style.position = RELATIVE; this.content.style.position = RELATIVE;
this.content.style.display = INLINE_BLOCK;
this.content.className = KONVA_CONTENT; this.content.className = KONVA_CONTENT;
this.content.setAttribute('role', 'presentation'); this.content.setAttribute('role', 'presentation');
container.appendChild(this.content); container.appendChild(this.content);