Mercurial > hg > webaudioevaluationtool
comparison core.js @ 787:8a926674000b
Bug #1488 fixed. Movement checks now operate per axis and report which axis and sliders need moving.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Fri, 11 Dec 2015 16:07:39 +0000 |
parents | 9ed3abe54604 |
children | 3539d6c992e4 |
comparison
equal
deleted
inserted
replaced
786:9ed3abe54604 | 787:8a926674000b |
---|---|
231 $(window).keypress(function(e){ | 231 $(window).keypress(function(e){ |
232 if (e.keyCode == 13 && popup.popup.style.visibility == 'visible') | 232 if (e.keyCode == 13 && popup.popup.style.visibility == 'visible') |
233 { | 233 { |
234 console.log(e); | 234 console.log(e); |
235 popup.buttonProceed.onclick(); | 235 popup.buttonProceed.onclick(); |
236 e.preventDefault(); | |
236 } | 237 } |
237 }); | 238 }); |
238 | 239 |
239 this.createPopup = function(){ | 240 this.createPopup = function(){ |
240 // Create popup window interface | 241 // Create popup window interface |