Skip to content

Commit

Permalink
Fixing console error
Browse files Browse the repository at this point in the history
  • Loading branch information
shramee committed Sep 1, 2017
1 parent a285d46 commit 9f52d72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions assets/front-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ jQuery( function ( $ ) {
},

templates: function ( tpls ) {

if ( ! tpls || ! tpls.length ) return;

pcld.templates = tpls;
pcld.populateTemplates( $mydesigns, tpls );
$mydesigns.append(
Expand All @@ -130,6 +133,9 @@ jQuery( function ( $ ) {
},

commTpls: function (tpls) {

if ( ! tpls || ! tpls.length ) return;

pcld.contibTpls = tpls;

var
Expand Down
2 changes: 1 addition & 1 deletion assets/front-end.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9f52d72

Please sign in to comment.