summaryrefslogtreecommitdiff
blob: 2d797aa293dae2c63448c1d703a02222bf53b31a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/build/app/node_modules/text-buffer/lib/marker-layer.js
--- b/build/app/node_modules/text-buffer/lib/marker-layer.js
@@ -192,7 +192,7 @@
         return function(markerId) {
           var marker;
           marker = _this.markersById[markerId];
-          if (!marker.matchesParams(params)) {
+          if (marker == null || !marker.matchesParams(params)) {
             return;
           }
           return result.push(marker);