mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-11 15:14:31 +08:00
fix(*) remove console.log, fix CJSX class= issue
This commit is contained in:
parent
8d0ec33b3c
commit
3369d1476c
2 changed files with 1 additions and 5 deletions
|
@ -47,9 +47,6 @@ AccountSidebarStore = Reflux.createStore
|
||||||
|
|
||||||
mainTagIDs = ['inbox', 'drafts', 'sent', 'archive']
|
mainTagIDs = ['inbox', 'drafts', 'sent', 'archive']
|
||||||
mainTags = _.filter tags, (tag) -> _.contains(mainTagIDs, tag.id)
|
mainTags = _.filter tags, (tag) -> _.contains(mainTagIDs, tag.id)
|
||||||
|
|
||||||
console.log mainTags
|
|
||||||
|
|
||||||
userTags = _.filter tags, (tag) -> tag.name != tag.id
|
userTags = _.filter tags, (tag) -> tag.name != tag.id
|
||||||
|
|
||||||
# Sort the main tags so they always appear in a standard order
|
# Sort the main tags so they always appear in a standard order
|
||||||
|
@ -114,7 +111,6 @@ AccountSidebarStore = Reflux.createStore
|
||||||
if change.objectClass == Tag.name
|
if change.objectClass == Tag.name
|
||||||
@_populate()
|
@_populate()
|
||||||
if change.objectClass == Thread.name
|
if change.objectClass == Thread.name
|
||||||
console.log "Thread Changed", change
|
|
||||||
@_populateUnreadCountsDebounced()
|
@_populateUnreadCountsDebounced()
|
||||||
if change.objectClass == Message.name
|
if change.objectClass == Message.name
|
||||||
@_populateDraftsCount()
|
@_populateDraftsCount()
|
||||||
|
|
|
@ -46,7 +46,7 @@ ContainerView = React.createClass
|
||||||
render: ->
|
render: ->
|
||||||
<ReactCSSTransitionGroup transitionName="page">
|
<ReactCSSTransitionGroup transitionName="page">
|
||||||
{@_pageComponent()}
|
{@_pageComponent()}
|
||||||
<div class="dragRegion" style={"-webkit-app-region": "drag", position: 'absolute', top:0, left:40, right:0, height: 20, zIndex:100}></div>
|
<div className="dragRegion" style={"WebkitAppRegion": "drag", position: 'absolute', top:0, left:40, right:0, height: 20, zIndex:100}></div>
|
||||||
</ReactCSSTransitionGroup>
|
</ReactCSSTransitionGroup>
|
||||||
|
|
||||||
_pageComponent: ->
|
_pageComponent: ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue