diff --git a/content/storage.jsi b/content/storage.jsi index eed6efa7..46e6edc5 100644 --- a/content/storage.jsi +++ b/content/storage.jsi @@ -151,8 +151,8 @@ function ArrayStore(name, store) if(fromEnd) array.splice(0, array.length - length); array.length = length; + this.fireEvent("truncate", length); } - this.fireEvent("truncate", length); return ret; };