Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Keep the Done button always present on the in-app reader.
  • Loading branch information
yllus committed Dec 28, 2011
1 parent 5668c5e commit 6be30f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions js/readability.js
Expand Up @@ -146,11 +146,11 @@ function grabArticle( element ) {
topDiv = clean(topDiv, "iframe");

// Add the footer and contents:
articleFooter.id = "readFooter";
articleFooter.innerHTML = "<button class=\"qnx-cancel\" onclick=\"hide_modal('div_reader');\"><label>Done</label></button>";
//articleFooter.id = "readFooter";
//articleFooter.innerHTML = "<button class=\"qnx-cancel\" onclick=\"hide_modal('div_reader');\"><label>Done</label></button>";

articleContent.appendChild(topDiv);
articleContent.appendChild(articleFooter);
//articleContent.appendChild(articleFooter);

return articleContent;
}
Expand Down
6 changes: 3 additions & 3 deletions screens/timeline.html
Expand Up @@ -39,12 +39,12 @@
</div>
</div>
<div id="div_reader">
<div style="float: right;">
<button class="qnx-cancel" style="" onclick="hide_modal('div_reader');">
<div style="width: 960px; height: 65px;">
<button class="qnx-cancel" style="position: absolute; top: 100px; right: 10px;" onclick="hide_modal('div_reader');">
<label>Done</label>
</button>
</div>
<div id="div_reader_text"></div>
<div id="div_reader_text" style="width: 960px; height: 425px; overflow: scroll;"></div>
</div>
<div class="toolbar">
<div style="float: left;">
Expand Down

0 comments on commit 6be30f1

Please sign in to comment.