We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5692404 commit 97d8f09Copy full SHA for 97d8f09
1 file changed
src/lib/notifier.js
@@ -14,7 +14,7 @@ var NOTEDATA = [];
14
* @return {undefined} this function does not return a value
15
*/
16
module.exports = function(text, displayLength, gd) {
17
- if(gd && gd._context && gd._context.displayNotifier === false) return;
+ if(gd?._context?.displayNotifier === false) return;
18
if(NOTEDATA.indexOf(text) !== -1) return;
19
20
NOTEDATA.push(text);
0 commit comments