Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Dec 5, 2016
1 parent f304028 commit 82b504a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/plugins/image_insert_edit.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@
# Prevent contextual toolbar from showing when image is clicked.
@options.editable.element.on 'halloselected', (event, data) ->
toolbar_option = widget.options.editable.options.toolbar
if toolbar_option == "halloToolbarContextual" and
jQuery(data.originalEvent.target).is('img')
if toolbar_option == "halloToolbarContextual" and jQuery(data.originalEvent.target).is('img')
$toolbar.hide()
false

Expand Down Expand Up @@ -161,8 +160,7 @@
jQuery(document).scrollTop(scrollbar_pos) # restore scrollbar pos
@options.editable.keepActivated false

if @options.insert_file_dialog_ui_url and not
@dialog_image_selection_ui_loaded
if @options.insert_file_dialog_ui_url and not @dialog_image_selection_ui_loaded

@options.dialog.on 'click', ".reload_link", ->
widget._load_dialog_image_selection_ui()
Expand Down

0 comments on commit 82b504a

Please sign in to comment.