Disabled pinned docs clicks for now, since their CSS is wonky.

This commit is contained in:
Nick Winter 2015-03-20 09:03:36 -07:00
parent 8b06de9613
commit bae7612703

View file

@ -107,8 +107,9 @@ module.exports = class SpellPaletteEntryView extends CocoView
Backbone.Mediator.publish 'tome:palette-pin-toggled', entry: @, pinned: @popoverPinned Backbone.Mediator.publish 'tome:palette-pin-toggled', entry: @, pinned: @popoverPinned
onClick: (e) => onClick: (e) =>
if @options.level.get('type', true) is 'hero' if true or @options.level.get('type', true) is 'hero'
# Jiggle instead of pin for hero levels # Jiggle instead of pin for hero levels
# Actually, do it all the time, because we recently busted the pin CSS. TODO: restore pinning
jigglyPopover = $('.spell-palette-popover.popover') jigglyPopover = $('.spell-palette-popover.popover')
jigglyPopover.addClass 'jiggling' jigglyPopover.addClass 'jiggling'
pauseJiggle = => pauseJiggle = =>