Skip to content
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.

Commit

Permalink
Fix editor to work with “base_url”
Browse files Browse the repository at this point in the history
  • Loading branch information
jip149 committed Jul 24, 2012
1 parent 7c180c8 commit 88ed662
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@
}

// attempt to load the definition for this language
var script_uri = '/javascript/editor/langs/' + markup_name + '.js';
var script_uri = baseUrl + '/javascript/editor/langs/' + markup_name + '.js';
$.ajax({
url: script_uri,
dataType: 'script',
Expand Down

0 comments on commit 88ed662

Please sign in to comment.