diff --git a/NEWS b/NEWS index 393bca3..d644149 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ 1.6.11: - * + * Fixed a bug in which toolbar buttons didn't depress based on the current + location of the text cursor. 1.6.10: March 20, 2009 * Faster uploads and downloads for users of luminotes.com. diff --git a/static/js/Wiki.js b/static/js/Wiki.js index 9dd3d02..ea31fc6 100644 --- a/static/js/Wiki.js +++ b/static/js/Wiki.js @@ -1341,7 +1341,7 @@ Wiki.prototype.connect_image_button = function ( button, filename_prefix ) { Wiki.prototype.down_image_button = function ( name ) { var button = getElement( name ); - if ( !button || !button.filename_preifx ) + if ( !button || !button.filename_prefix ) return; var toolbar_image_dir = this.get_toolbar_image_dir( button.always_small );