mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Disabled pinned docs clicks for now, since their CSS is wonky.
This commit is contained in:
parent
8b06de9613
commit
bae7612703
1 changed files with 2 additions and 1 deletions
|
@ -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 = =>
|
||||||
|
|
Loading…
Reference in a new issue