Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Commit 65d41c6

Browse files
author
Brad Miller
committed
Merge branch 'master' into sql_activecode
2 parents 06089ae + b0e7ad3 commit 65d41c6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

runestone/common/js/bookfuncs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function notifyRunestoneComponents() {
158158

159159
// initialize stuff
160160
$(document).ready(function() {
161-
if (eBookConfig && eBookConfig.useRunestoneServices) {
161+
if (eBookConfig ) {
162162
handlePageSetup();
163163
} else {
164164
if (typeof eBookConfig === 'undefined') {

runestone/common/project_template/_templates/plugin_layouts/sphinx_bootstrap/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
eBookConfig.readings = {{= readings}};
245245
{% endraw %}
246246
{% else %}
247-
eBookConfig.useRunestoneServices = {% if use_services -%}true{%- else -%}false{%- endif -%};
247+
eBookConfig.useRunestoneServices = {% if use_services == 'True' -%}true{%- else -%}false{%- endif -%};
248248
eBookConfig.host = '{{course_url}}' ? '{{course_url}}' : 'http://127.0.0.1:8000';
249249
eBookConfig.app = eBookConfig.host+'/{{appname}}';
250250
eBookConfig.course = '{{course_id}}';

0 commit comments

Comments
 (0)