Skip to content
Snippets Groups Projects
Commit a4fe96f8 authored by chris's avatar chris Committed by john
Browse files

remove console logs

parent cdf16cb0
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ class CommentBubble extends Tool { ...@@ -63,7 +63,7 @@ class CommentBubble extends Tool {
overlayContainer = children[1] overlayContainer = children[1]
fix = 357 fix = 357
} }
console.log(fix)
const documentElementWidth = documentElement.offsetWidth const documentElementWidth = documentElement.offsetWidth
const overlayContainerLeft = overlayContainer.offsetLeft const overlayContainerLeft = overlayContainer.offsetLeft
const left = documentElementWidth - overlayContainerLeft - fix const left = documentElementWidth - overlayContainerLeft - fix
...@@ -79,7 +79,7 @@ class CommentBubble extends Tool { ...@@ -79,7 +79,7 @@ class CommentBubble extends Tool {
const cheat = 3 const cheat = 3
const moveUp = (selectionHeight / 2) + (bubbleHeight / 2) + cheat const moveUp = (selectionHeight / 2) + (bubbleHeight / 2) + cheat
const top = '-' + moveUp + 'px' const top = '-' + moveUp + 'px'
console.log('left', left)
this.el.css('left', left) this.el.css('left', left)
this.el.css('top', top) this.el.css('top', top)
}) })
......
...@@ -57,6 +57,7 @@ class Notes extends Component { ...@@ -57,6 +57,7 @@ class Notes extends Component {
const user = this.getUser() const user = this.getUser()
const update = this.getUpdate() const update = this.getUpdate()
const trackChanges = this.trackChanges() const trackChanges = this.trackChanges()
el.append($$(MiniEditor, { el.append($$(MiniEditor, {
comments: comments, comments: comments,
editorSession: miniEditorSession, editorSession: miniEditorSession,
......
...@@ -20,6 +20,7 @@ class NotesProvider extends TOCProvider { ...@@ -20,6 +20,7 @@ class NotesProvider extends TOCProvider {
const notesMini = _.pickBy(nodesMini, function (value, key) { const notesMini = _.pickBy(nodesMini, function (value, key) {
return value.type === 'isolated-note' return value.type === 'isolated-note'
}) })
const entriesMain = this.sortNodes(notesMain) const entriesMain = this.sortNodes(notesMain)
const entriesMini = this.sortNodesMini(notesMini) const entriesMini = this.sortNodesMini(notesMini)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment