Skip to content

Commit

Permalink
setup classes on execCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
michelson committed Nov 17, 2014
1 parent 1a549b2 commit cadeadf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,19 @@
/node_modules

/tmp/images/**/*


/.yardoc
/Gemfile.lock
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/
*.bundle
*.so
*.o
*.a
mkmf.log
log
3 changes: 3 additions & 0 deletions source/assets/javascripts/dante/menu.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ class Dante.Editor.Menu extends Dante.View
n = @current_editor.getNode()
@current_editor.setupLinks($(n).find("a"))
@displayHighlights()
if $(n).parent().hasClass("section-inner")
n = @current_editor.addClassesToElement(n)
@current_editor.setElementName(n)
else
utils.log "fail" + message, true
return
Expand Down

0 comments on commit cadeadf

Please sign in to comment.