if (parentSelector !== '' && parentSelector.length > 0) {
Can you please also check parentSelector !== null ?
Because in some case for example:
When a button click trigger another part of "js generated html" or ".Net Partial View generated html" attach to current page. In this case parentSelector becomes null. The error information was shown in the picture I attached.
Can you please fix this issue with sample logic as below:
if (parentSelector != null && parentSelector !== '' && parentSelector.length > 0) {
Issue:
Problem location: Propeller.js 1.3.1 line.18
if (parentSelector !== '' && parentSelector.length > 0) {
Can you please also check parentSelector !== null ? Because in some case for example: When a button click trigger another part of "js generated html" or ".Net Partial View generated html" attach to current page. In this case parentSelector becomes null. The error information was shown in the picture I attached.
Can you please fix this issue with sample logic as below:
if (parentSelector != null && parentSelector !== '' && parentSelector.length > 0) {
Thank you very much!