diff --git a/inc/config.php b/inc/config.php index e71f3631..ca3aec91 100644 --- a/inc/config.php +++ b/inc/config.php @@ -249,6 +249,9 @@ $config['show_ratio'] = false; // Display the file's original filename $config['show_filename']= true; + // Inline expanding of images with Javascript + $config['inline_expanding'] = true; + // Directory where temporary files will be created. Not really used much yet except for some experimental stuff. $config['tmp'] = '/tmp'; diff --git a/main.js b/main.js index ff076598..477c90db 100644 --- a/main.js +++ b/main.js @@ -58,8 +58,8 @@ function citeReply(id) { var selectedstyle = 'Yotsuba B'; var styles = [ - ['Yotsuba B', '/Tinyboard/default.css'], - ['Yotsuba', '/Tinyboard/yotsuba.css'] + ['Yotsuba B', '/Tinyboard/stylesheets/default.css'], + ['Yotsuba', '/Tinyboard/stylesheets/yotsuba.css'] ]; var saved = {}; @@ -113,31 +113,7 @@ function rememberStuff() { } } -function init() -{ - newElement = document.createElement('div'); - newElement.className = 'styles'; - - for(x=0;x