comment console.log
This commit is contained in:
parent
c5f7abc43a
commit
a4e503b1ea
@ -10,22 +10,22 @@
|
||||
<link rel="stylesheet" href="mastodon-timeline.css">
|
||||
<style>
|
||||
*{
|
||||
margin:0;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
html{
|
||||
height:100%
|
||||
height: 100%
|
||||
}
|
||||
body{
|
||||
height:100%;
|
||||
height: 100%;
|
||||
background: lightslategray;
|
||||
font-size:16px;
|
||||
font-size: 16px;
|
||||
font-family: Arial, Helvetica;
|
||||
margin:0;
|
||||
padding:0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.dummy-container {
|
||||
height:calc(100% - 4rem);
|
||||
height: calc(100% - 4rem);
|
||||
margin: 0 auto;
|
||||
max-width: 26rem;
|
||||
padding: 2rem;
|
||||
|
@ -50,7 +50,6 @@ let MastodonApi = function (params_) {
|
||||
});
|
||||
this.mtBodyContainer.addEventListener('keydown', function (event) {
|
||||
if (event.code === 'Enter' && event.target.localName == 'article') {
|
||||
console.log('key event: ', event);
|
||||
openTootURL(event);
|
||||
}
|
||||
});
|
||||
@ -91,7 +90,7 @@ MastodonApi.prototype.getToots = function () {
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(jsonData => {
|
||||
console.log('jsonData: ', jsonData);
|
||||
// console.log('jsonData: ', jsonData);
|
||||
|
||||
// Clear the loading message
|
||||
this.mtBodyContainer.innerHTML = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user