aboutsummaryrefslogtreecommitdiffstats
path: root/js/storage.js
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2019-05-14 19:08:56 +0200
committerAlessio Vanni <vannilla@firemail.cc>2019-05-14 19:08:56 +0200
commit64c15c807f4f0387bf1e967354fab21dbdb9980c (patch)
tree9a1f288b82423fa96a3b85042d72789e8094265c /js/storage.js
parent1e8bbada86a9ba787a751e0ce2dd53519c532944 (diff)
downloadematrix-64c15c807f4f0387bf1e967354fab21dbdb9980c.tar.lz
ematrix-64c15c807f4f0387bf1e967354fab21dbdb9980c.tar.xz
ematrix-64c15c807f4f0387bf1e967354fab21dbdb9980c.zip
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.)
Diffstat (limited to 'js/storage.js')
-rw-r--r--js/storage.js2
1 files changed, 1 insertions, 1 deletions
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' ) {