Integrated hint alerts in the main frame
diff --git a/dev/demo/hintdemo.js b/dev/demo/hintdemo.js
index fd80b43..3eb38cc 100644
--- a/dev/demo/hintdemo.js
+++ b/dev/demo/hintdemo.js
@@ -16,5 +16,5 @@
 
 function demoAlert (pos, msg) {
   if (hint !== undefined)
-    hint.charAlert(pos, msg);
+    hint.alert(pos, msg);
 }