Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Manish Champaneri committed Mar 26, 2019
2 parents bdc74e1 + 7307541 commit 78ecc1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 04 CallGoFunctionFromTIscript/main-update.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ <h1>Simple Input</h1>

<script type="text/tiscript">
event click $(#btn1){
self#sum.text = view.Sum(self#n1.text, self#n2.text)
self#sum.text = view.Sum(self#n1.value, self#n2.value)
}
</script>
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion 04 CallGoFunctionFromTIscript/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {
color.RedString("Failed to generate sciter window ", windowsGenerateionError.Error())
}

uiLoadingError := window.LoadFile("./main.html")
uiLoadingError := window.LoadFile("./main-update.html")
if uiLoadingError != nil {
color.RedString("Failed to load ui file ", uiLoadingError.Error())
}
Expand Down

0 comments on commit 78ecc1d

Please sign in to comment.