Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrogers committed Apr 6, 2022
1 parent 931dcdb commit a962710
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion cinema/view/2.2/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function loadAttributes(callback)
{
var xobj = new XMLHttpRequest();
xobj.overrideMimeType("application/json");
xobj.open('GET', "cinema/view/2.1/cinema_attributes.json", true); // Replace 'my_data' with the path to your file
xobj.open('GET', "cinema/view/2.2/cinema_attributes.json", true); // Replace 'my_data' with the path to your file
xobj.onreadystatechange = function () {
if (xobj.readyState == 4 && (xobj.status == 0 || xobj.status == 200)) {
// Required use of an anonymous callback as .open will NOT return a value but simply returns undefined in asynchronous mode
Expand Down

0 comments on commit a962710

Please sign in to comment.