Bug 944008 - Usage reset doesn't work properly. r=gene

This commit is contained in:
Albert Crespell 2013-11-29 08:06:20 +01:00
parent b4b25635a8
commit 2940d90868

View File

@ -385,7 +385,7 @@ NetworkStatsDB.prototype = {
request.onsuccess = function onsuccess(event) {
let cursor = event.target.result;
if (cursor) {
if (!sample) {
if (!sample && cursor.value.appId == 0) {
sample = cursor.value;
}