Skip to content

Commit

Permalink
Rm console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtj committed Jan 26, 2019
1 parent 1cafb25 commit 4395b55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/js/cms/img.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ CMS.registerEditorComponent({
// (component gives better render performance)
toPreview: function (obj) {
let href = window.location.href.split('?')[0].split('#')[0];
console.log(href);
let root = href.substring(0,href.length-7);
console.log(root);
if (!obj.path) {
return `Please choose image!!`;
}
Expand Down

0 comments on commit 4395b55

Please sign in to comment.