File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,7 @@ export default Service.extend({
163
163
this . set ( 'faultMessages' , {
164
164
tabSwitch : false ,
165
165
windowResize : false ,
166
+ windowMove : false ,
166
167
noFace : false ,
167
168
multipleFace : false
168
169
} )
@@ -175,7 +176,7 @@ export default Service.extend({
175
176
176
177
switch ( e . detail . code ) {
177
178
case "TAB_SWITCHED" : await this . handleTabSwitchFault ( ) ; break ;
178
- case "WINDOW_RESIZED " : await this . handleWindowResizeFault ( e . detail ) ; break ;
179
+ case "WINDOWRESIZED " : await this . handleWindowResizeFault ( e . detail ) ; break ;
179
180
case "WINDOW_MOVED" : await this . handleWindowMoveFault ( ) ; break ;
180
181
case "NO_FACE_DETECTED" : await this . handleNoFaceFault ( e . detail ) ;
181
182
this . set ( 'oneFaceDetected' , false ) ; break ;
@@ -231,7 +232,7 @@ export default Service.extend({
231
232
await this . store . findRecord ( 'contest-attempt' , currentAttempt . id )
232
233
}
233
234
} ,
234
- async handleWindowMoveFault ( details ) {
235
+ async handleWindowMoveFault ( ) {
235
236
this . set ( 'faultMessages.windowMove' , true )
236
237
this . set ( 'faultTrigger' , true )
237
238
You can’t perform that action at this time.
0 commit comments