Comparing version
@@ -43,4 +43,6 @@ 'use strict'; | ||
this._context.body.appendChild(node); | ||
node.addEventListener('change', function(e) { | ||
fn(node.value); | ||
node.remove(); | ||
}); | ||
@@ -80,4 +82,6 @@ node.click(); | ||
this._context.body.appendChild(node); | ||
node.addEventListener('change', function() { | ||
fn(node.value); | ||
node.remove(); | ||
}); | ||
@@ -102,4 +106,6 @@ node.click(); | ||
this._context.body.appendChild(node); | ||
node.addEventListener('change', function() { | ||
fn(node.value); | ||
node.remove(); | ||
}); | ||
@@ -106,0 +112,0 @@ node.click(); |
{ | ||
"name": "nw-dialog", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Node Webkit Dialog", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6158
3.69%100
6.38%