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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user