mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-16 20:29:47 +00:00
misc
This commit is contained in:
parent
cb43ed62c0
commit
a5c547c011
1 changed files with 0 additions and 5 deletions
|
@ -10,8 +10,6 @@ showEditor();
|
||||||
|
|
||||||
var allPagesRef = null;
|
var allPagesRef = null;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function showEditor() {
|
function showEditor() {
|
||||||
|
|
||||||
var body = document.getElementsByTagName('body')[0];
|
var body = document.getElementsByTagName('body')[0];
|
||||||
|
@ -38,8 +36,6 @@ function showEditor() {
|
||||||
/////////////////////
|
/////////////////////
|
||||||
// Content List
|
// Content List
|
||||||
|
|
||||||
// TODO change ids - add prefix !!!!
|
|
||||||
|
|
||||||
var titleHolder = document.createElement('div');
|
var titleHolder = document.createElement('div');
|
||||||
titleHolder.id = 'chapterEditor-ebookTitleHolder';
|
titleHolder.id = 'chapterEditor-ebookTitleHolder';
|
||||||
|
|
||||||
|
@ -152,7 +148,6 @@ function showEditor() {
|
||||||
modalContent.style.padding = '0';
|
modalContent.style.padding = '0';
|
||||||
modalContent.style.width = '70%';
|
modalContent.style.width = '70%';
|
||||||
|
|
||||||
// When the user clicks anywhere outside of the modal, close it
|
|
||||||
window.onclick = function(event) {
|
window.onclick = function(event) {
|
||||||
if (event.target == modal) {
|
if (event.target == modal) {
|
||||||
closeModal();
|
closeModal();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue