MCPcopy Index your code
hub / github.com/codecombat/codecombat / onLeftPressed

Method onLeftPressed

app/views/AboutView.js:115–121  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

113 }
114
115 onLeftPressed (event) {
116 if ((event.type === 'keydown') && $(document.activeElement).is('.carousel-control')) { return }
117 if (__guard__($('#screenshot-lightbox').data('bs.modal'), x => x.isShown)) {
118 event.preventDefault()
119 return $('#screenshot-carousel').carousel('prev')
120 }
121 }
122
123 onEscapePressed (event) {
124 if (__guard__($('#screenshot-lightbox').data('bs.modal'), x => x.isShown)) {

Callers

nothing calls this directly

Calls 3

isMethod · 0.80
dataMethod · 0.80
__guard__Function · 0.70

Tested by

no test coverage detected