web/res/js/live-polemic.js
changeset 633 dfcbb21a8eac
parent 591 4c8187b39d26
child 748 0770219aac61
--- a/web/res/js/live-polemic.js	Thu May 24 21:27:06 2012 +0200
+++ b/web/res/js/live-polemic.js	Mon Jun 04 17:04:53 2012 +0200
@@ -296,7 +296,9 @@
                 }
             }
             for (var j in ann) {
-                twCx.globalWords[word].annotations[ann[j]]++;
+                if (typeof twCx.globalWords[word].annotations != "undefined") {
+                    twCx.globalWords[word].annotations[ann[j]]++;
+                }
             }
         }
     }