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
1323a8e2
Commit
1323a8e2
authored
May 22, 2015
by
aamir-khan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-1472: js nitpick fixes
parent
be5a1a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lms/static/js/verify_student/views/webcam_photo_view.js
+5
-3
No files found.
lms/static/js/verify_student/views/webcam_photo_view.js
View file @
1323a8e2
...
...
@@ -233,7 +233,9 @@
},
render
:
function
()
{
var
renderedHtml
;
var
renderedHtml
,
$resetBtn
,
$captureBtn
;
// Set the submit button to disabled by default
this
.
setSubmitButtonEnabled
(
false
);
...
...
@@ -245,8 +247,8 @@
);
$
(
this
.
el
).
html
(
renderedHtml
);
var
$resetBtn
=
this
.
$el
.
find
(
'#webcam_reset_button'
),
$captureBtn
=
this
.
$el
.
find
(
'#webcam_capture_button'
);
$resetBtn
=
this
.
$el
.
find
(
'#webcam_reset_button'
);
$captureBtn
=
this
.
$el
.
find
(
'#webcam_capture_button'
);
// Install event handlers
$resetBtn
.
on
(
'click'
,
_
.
bind
(
this
.
reset
,
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