From 64c15c807f4f0387bf1e967354fab21dbdb9980c Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Tue, 14 May 2019 19:08:56 +0200 Subject: Fix return statement The caller calling this function with topic equal to "before-asset-updated" expects a non-false value, but is never returned (a return with no value is equal to "return undefined" or something like that.) --- js/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/storage.js') diff --git a/js/storage.js b/js/storage.js index 4ca9b4f..c56d414 100644 --- a/js/storage.js +++ b/js/storage.js @@ -564,7 +564,7 @@ ) { return false; } - return; + return true; } if ( topic === 'after-asset-updated' ) { -- cgit v1.2.3