Skip to content

Commit 2fb7043

Browse files
committed
minor
1 parent 2bdb5af commit 2fb7043

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎v3/js/matrixtutor.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3333

3434
// custom version of opt-frontend.js for ../matrixtutor.html
3535

36+
var originFrontendJsFile = 'matrixtutor.js';
3637

3738
// Pre-reqs:
3839
// - pytutor.js
@@ -157,7 +158,7 @@ $(document).ready(function() {
157158
heap_primitives: false,
158159
show_only_outputs: false,
159160
py_crazy_mode: false,
160-
origin: 'matrixtutor.js'};
161+
origin: originFrontendJsFile};
161162

162163
var frontendOptionsObj = {updateOutputCallback: function() {$('#urlOutput,#embedCodeOutput').val('');},
163164
compactFuncLabels: true,

0 commit comments

Comments
 (0)