Skip to content

Commit

Permalink
Simplify: no more cge_update_download_size
Browse files Browse the repository at this point in the history
  • Loading branch information
michaliskambi committed Nov 15, 2024
1 parent eb8055c commit 0cf6ad4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions htdocs/castle-engine-website-base/castle-engine.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
'use strict';

/* Update .download width to fit alongside the column
with .thumbnails. No longer needed.
function cge_update_download_size()
{
var thumbnails = jQuery('.thumbnails');
Expand All @@ -24,7 +26,9 @@ jQuery(window).resize(function() {
jQuery(document).ready(function() {
cge_update_download_size();
});
*/

/* Simple JS to show/hide something, used by convert-output.php now. */
jQuery("#toggle-details").click(function() {
jQuery("#details").toggle(50);
});
2 changes: 1 addition & 1 deletion htdocs/castle_engine_functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function castle_detect_environment()
define('CGE_LATEST_DOWNLOAD', 'https://github.com/castle-engine/castle-engine/archive/snapshot.zip');

// bump this each time you change castle-engine.css, to work with CloudFlare caching (or you can purge CloudFlare cache manually)
define('CASTLE_ENGINE_CSS_VERSION', 50);
define('CASTLE_ENGINE_CSS_VERSION', 51);

define('TWITTER_HANDLE', 'castleengine'); // https://twitter.com/castleengine/

Expand Down

0 comments on commit 0cf6ad4

Please sign in to comment.