--- a/src/js/serializers/JSONSerializer.js Thu Nov 24 11:47:07 2011 +0100
+++ b/src/js/serializers/JSONSerializer.js Thu Nov 24 12:39:46 2011 +0100
@@ -130,9 +130,10 @@
for (i in this._data.annotations) {
var annotation = this._data.annotations[i];
- if (annotation.meta["id-ref"] == view_type && annotation.begin < currentTimeMs && annotation.end > currentTimeMs)
+
+ if (annotation.meta["id-ref"] === view_type && annotation.begin <= currentTimeMs && annotation.end >= currentTimeMs)
ret_array.push(annotation);
}
-
+
return ret_array;
};