Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

expose reviewMode to relatedvideos

  • Loading branch information...
commit 7f585efd08b138f3f0c4d5e2af9ca71bb5710457 1 parent a11fc6f
@nsfmc nsfmc authored
Showing with 4 additions and 1 deletion.
  1. +3 −0  khan-exercise.js
  2. +1 −1  utils/relatedvideos.js
View
3  khan-exercise.js
@@ -255,6 +255,9 @@ var Khan = (function() {
var Khan = {
modules: {},
+ // expose reviewMode to other extensions
+ reviewMode: reviewMode,
+
// So modules can use file paths properly
urlBase: urlBase,
View
2  utils/relatedvideos.js
@@ -120,7 +120,7 @@ jQuery.extend( Khan, { relatedVideos: {
this.renderInSidebar();
// Review queue overlaps with the content here
- if ( !reviewMode ) {
+ if ( !Khan.reviewMode ) {
this.renderInHeader();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.