mirror of
https://gitlab.com/idotj/mastodon-embed-timeline.git
synced 2025-05-24 08:52:46 +00:00
comment console.log
This commit is contained in:
parent
c5f7abc43a
commit
a4e503b1ea
@ -50,7 +50,6 @@ let MastodonApi = function (params_) {
|
|||||||
});
|
});
|
||||||
this.mtBodyContainer.addEventListener('keydown', function (event) {
|
this.mtBodyContainer.addEventListener('keydown', function (event) {
|
||||||
if (event.code === 'Enter' && event.target.localName == 'article') {
|
if (event.code === 'Enter' && event.target.localName == 'article') {
|
||||||
console.log('key event: ', event);
|
|
||||||
openTootURL(event);
|
openTootURL(event);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -91,7 +90,7 @@ MastodonApi.prototype.getToots = function () {
|
|||||||
})
|
})
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(jsonData => {
|
.then(jsonData => {
|
||||||
console.log('jsonData: ', jsonData);
|
// console.log('jsonData: ', jsonData);
|
||||||
|
|
||||||
// Clear the loading message
|
// Clear the loading message
|
||||||
this.mtBodyContainer.innerHTML = '';
|
this.mtBodyContainer.innerHTML = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user