Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
be5a1a33
Commit
be5a1a33
authored
May 21, 2015
by
aamir-khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-1472: js nitpick fixes
parent
7395e8ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lms/static/js/verify_student/views/webcam_photo_view.js
+7
-7
No files found.
lms/static/js/verify_student/views/webcam_photo_view.js
View file @
be5a1a33
...
...
@@ -245,18 +245,18 @@
);
$
(
this
.
el
).
html
(
renderedHtml
);
var
resetBtn
=
this
.
$el
.
find
(
'#webcam_reset_button'
);
var
captureBtn
=
this
.
$el
.
find
(
'#webcam_capture_button'
);
var
$resetBtn
=
this
.
$el
.
find
(
'#webcam_reset_button'
),
$
captureBtn
=
this
.
$el
.
find
(
'#webcam_capture_button'
);
// Install event handlers
resetBtn
.
on
(
'click'
,
_
.
bind
(
this
.
reset
,
this
)
);
captureBtn
.
on
(
'click'
,
_
.
bind
(
this
.
capture
,
this
)
);
$
resetBtn
.
on
(
'click'
,
_
.
bind
(
this
.
reset
,
this
)
);
$
captureBtn
.
on
(
'click'
,
_
.
bind
(
this
.
capture
,
this
)
);
resetBtn
.
on
(
'keyup'
,
_
.
bind
(
this
.
reset_by_enter
,
this
)
);
captureBtn
.
on
(
'keyup'
,
_
.
bind
(
this
.
capture_by_enter
,
this
)
);
$
resetBtn
.
on
(
'keyup'
,
_
.
bind
(
this
.
reset_by_enter
,
this
)
);
$
captureBtn
.
on
(
'keyup'
,
_
.
bind
(
this
.
capture_by_enter
,
this
)
);
// Show the capture button
captureBtn
.
removeClass
(
'is-hidden'
);
$
captureBtn
.
removeClass
(
'is-hidden'
);
return
this
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment