Skip to content

Commit

Permalink
fix square root of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
cromerc committed Jun 10, 2020
1 parent 141b108 commit 88714e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@
</tr>
</table>
<div class="credits">
<b>JVON Web</b><br/>
<b>JVON Web 1.1.2</b><br/>
{{strings.credits_description}}&nbsp;<b>{{strings.credits_john}}</b><br/>
{{strings.credits_cromer}}<br/>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015<br/>
<a target="_blank" href="jvon-1.1.1.apk">Version android</a>
Ingeniería Civil en Informática, Universidad del Bío Bío, 2015-2020<br/>
<!--<a target="_blank" href="jvon-1.1.1.apk">Version android</a>-->
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion js/jvon-interpret.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ document.addEventListener('DOMContentLoaded', function () {
var syntax = $scope.check_syntax(value);
var sqr;
if (syntax.type == "blank") {
if ($scope.ac == "") {
if (typeof $scope.ac != 'number') {
alert($scope.strings.error_ac);
$scope.stop_code();
}
Expand Down

0 comments on commit 88714e3

Please sign in to comment.