File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -209,14 +209,14 @@ function setUpListOfListsSection() {
209
209
210
210
function drawListOfLists ( ) {
211
211
chrome . storage . sync . get ( 'allLists' , function ( allListsData ) {
212
+ var listBox = document . getElementById ( 'list-of-lists-box' ) ;
213
+ listBox . innerHTML = '' ;
212
214
if ( isEmpty ( allListsData ) || isEmpty ( allListsData . allLists ) ) {
213
- // TODO
214
215
console . log ( 'No lists created!' ) ;
215
- return ;
216
+ listBox . innerHTML = 'No lists!' ;
216
217
}
217
218
allListsData = allListsData . allLists ;
218
- var listBox = document . getElementById ( 'list-of-lists-box' ) ;
219
- listBox . innerHTML = '' ;
219
+
220
220
221
221
var table = document . createElement ( 'table' ) ;
222
222
table . appendChild ( document . createElement ( 'thead' ) ) ;
Original file line number Diff line number Diff line change 18
18
19
19
.title-box {
20
20
font-weight : bold;
21
+ margin-bottom : 10px ;
21
22
}
22
23
23
24
.list-table , .item-table {
You can’t perform that action at this time.
0 commit comments