Skip to content

Commit

Permalink
Parse languageId to int before check.
Browse files Browse the repository at this point in the history
  • Loading branch information
hermanzdosilovic committed Nov 5, 2019
1 parent 1fd0b7e commit d77037d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ide.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ function run() {
var compilerOptions = $compilerOptions.val();
var commandLineArguments = $commandLineArguments.val();

if (languageId === "44") {
if (parseInt(languageId) === 44) {
sourceValue = sourceEditor.getValue();
}

Expand Down

0 comments on commit d77037d

Please sign in to comment.