Skip to content

Commit

Permalink
fix: input box title wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
DG-Wangtao committed Dec 16, 2019
1 parent eb47933 commit 2532237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "timestamp-convert",
"version": "1.0.1",
"version": "1.0.2",
"description": "A Electron application convert timestamp to datetime loacle string",
"repository": "github:WaylandWong/timestamp-convert",
"main": "./src/main.js",
Expand Down
1 change: 1 addition & 0 deletions src/script/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function outputValueChange() {
const unixTimeZero = Date.parse(value);
if (!Number.isNaN(unixTimeZero)) {
input.value = unixTimeZero;
input.title = value;
}
} catch (err) {}
}
Expand Down

0 comments on commit 2532237

Please sign in to comment.