Skip to content
Snippets Groups Projects
Commit ffb33185 authored by chris's avatar chris
Browse files

remove unused code

parent 82956f28
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ class TrackChangeControlCommand extends Command { ...@@ -11,7 +11,7 @@ class TrackChangeControlCommand extends Command {
} }
execute (params, context) { execute (params, context) {
const surface = context.surfaceManager.getSurface('body') const surface = context.surfaceManager.getSurface('body')
surface._owner.send('trackChangesUpdate') surface.send('trackChangesUpdate')
return true return true
} }
} }
......
...@@ -19,7 +19,7 @@ export default { ...@@ -19,7 +19,7 @@ export default {
config.addTool('track-change-toggle-view', TrackChangeControlViewTool, { config.addTool('track-change-toggle-view', TrackChangeControlViewTool, {
target: 'track-change-toggle-view' target: 'track-change-toggle-view'
}) })
config.addCommand('track-change-enable', TrackChangeControlCommand, {target: 'document'}) config.addCommand('track-change-enable', TrackChangeControlCommand)
config.addCommand('track-change-toggle-view', TrackChangeControlViewCommand) config.addCommand('track-change-toggle-view', TrackChangeControlViewCommand)
config.addCommand(TrackChange.type, TrackChangeCommand, { nodeType: TrackChange.type }) config.addCommand(TrackChange.type, TrackChangeCommand, { nodeType: TrackChange.type })
config.addIcon('track-change', { 'fontawesome': 'fa-eye' }) config.addIcon('track-change', { 'fontawesome': 'fa-eye' })
......
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