1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-21 21:51:48 +00:00

Fix: minor features

設定ボタンアイコンの変更
削除Modalでcmd+enterの使用
検索バーデザイン
This commit is contained in:
Rokt33r
2015-07-30 00:00:45 +09:00
parent c6ef86cbbe
commit 211fd8b28a
7 changed files with 22 additions and 24 deletions

View File

@@ -7,6 +7,9 @@ var BlueprintDeleteModal = React.createClass({
close: React.PropTypes.func,
blueprint: React.PropTypes.object
},
componentDidMount: function () {
React.findDOMNode(this).focus()
},
stopPropagation: function (e) {
e.stopPropagation()
},
@@ -21,7 +24,7 @@ var BlueprintDeleteModal = React.createClass({
},
render: function () {
return (
<div onKeyDown={this.handleKeyDown} onClick={this.stopPropagation} className='BlueprintDeleteModal modal'>
<div tabIndex='3' onKeyDown={this.handleKeyDown} onClick={this.stopPropagation} className='BlueprintDeleteModal modal'>
<div className='modal-header'>
<h1>Delete Blueprint</h1>
</div>