Fix nextmatch returned null for getDOMNode() if no sender provided

This caused it to appear hidden to etemplate print()
This commit is contained in:
nathangray 2017-11-07 09:01:22 -07:00
parent e2b4bc89a8
commit 331364810b

View File

@ -1997,7 +1997,7 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
}, },
getDOMNode: function(_sender) { getDOMNode: function(_sender) {
if (_sender == this) if (_sender == this || typeof _sender === 'undefined')
{ {
return this.div[0]; return this.div[0];
} }