Skip to content

Commit

Permalink
Fix console log
Browse files Browse the repository at this point in the history
  • Loading branch information
mervit authored and ashleydw committed Aug 8, 2018
1 parent 8289ed5 commit 32485eb
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions dist/ekko-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,7 @@ var Lightbox = (function ($) {
url: src,
async: false
});
console.log(response);
var contentType = response.getResponseHeader('Content-Type');
console.log(contentType);
return contentType;
}
}, {
Expand Down Expand Up @@ -471,7 +469,6 @@ var Lightbox = (function ($) {
value: function _showHtml5Media(url, $containerForElement) {
// should be used for videos only. for remote content use loadRemoteContent (data-type=url)
var contentType = this._getRemoteContentType(url);
console.log(contentType);
if (!contentType) {
return this._error(this._config.strings.type);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/ekko-lightbox.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ekko-lightbox.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/ekko-lightbox.min.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions ekko-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,7 @@ const Lightbox = (($) => {
url: src,
async: false
});
console.log(response);
let contentType = response.getResponseHeader('Content-Type')
console.log(contentType);
return contentType;
}

Expand Down Expand Up @@ -471,7 +469,6 @@ const Lightbox = (($) => {

_showHtml5Media(url, $containerForElement) { // should be used for videos only. for remote content use loadRemoteContent (data-type=url)
let contentType = this._getRemoteContentType(url);
console.log(contentType);
if(!contentType){
return this._error(this._config.strings.type)
}
Expand Down

0 comments on commit 32485eb

Please sign in to comment.