aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--resources/assets/javascripts/lib/oer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/lib/oer.js b/resources/assets/javascripts/lib/oer.js
index 089958f..ca5729b 100644
--- a/resources/assets/javascripts/lib/oer.js
+++ b/resources/assets/javascripts/lib/oer.js
@@ -201,7 +201,7 @@ const OER = {
},
mounted: function () {
this.results = $(this.$el).data('searchresults');
- if (this.results !== null) {
+ if (this.results !== false) {
$("#new_ones").hide();
}
if ($(this.$el).data('filteredcategory')) {