Skip to content
Browse files

expose reviewMode to relatedvideos

  • Loading branch information...
1 parent a11fc6f commit 7f585efd08b138f3f0c4d5e2af9ca71bb5710457 @nsfmc nsfmc committed
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();
}
}

0 comments on commit 7f585ef

Please sign in to comment.
Something went wrong with that request. Please try again.