diff --git a/api/js/etemplate/et2_extension_nextmatch.js b/api/js/etemplate/et2_extension_nextmatch.js index 70f88c5b84..cc76b18810 100644 --- a/api/js/etemplate/et2_extension_nextmatch.js +++ b/api/js/etemplate/et2_extension_nextmatch.js @@ -1997,7 +1997,7 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_ }, getDOMNode: function(_sender) { - if (_sender == this) + if (_sender == this || typeof _sender === 'undefined') { return this.div[0]; }