Commit 74ba5f30 authored by afzafri's avatar afzafri
Browse files

hide output box first, show only when comic is loaded

parent b9431e63
$(document).ready(function(){
// hide the output box first
$('#output').hide();
// Load all the archive formats
loadArchiveFormats(['rar', 'zip', 'tar']);
$("#fileup").change(function(){
$('#output').hide();
// init the gallery plugin, when there is a first click on a image
// re-bind this function when opening new comic
$(document).one('click','#comicImg',function(){
......@@ -45,6 +50,9 @@ $(document).ready(function(){
// hide loading
$('.se-pre-con').fadeOut('slow');
// show output box
$('#output').fadeIn('slow');
}
else
{
......@@ -52,6 +60,9 @@ $(document).ready(function(){
// hide loading
$('.se-pre-con').fadeOut('slow');
// show output box
$('#output').fadeIn('slow');
}
});
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment