www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 3118eeb9d71a46d02a90f0fd96111abdd76ec126
parent 0b3454ce25eace2785d933baa2aeef8d2379b340
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Thu, 20 Feb 2014 12:59:28 -0500

Compress close and menu images, and only pre-load menu arrow when discoverability is requested.  Resolves issue #734.

Diffstat:
Mimages/CloseX-31.png | 0
Mimages/MenuArrow-15.png | 0
Munpacked/extensions/MathEvents.js | 6++++--
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/images/CloseX-31.png b/images/CloseX-31.png Binary files differ. diff --git a/images/MenuArrow-15.png b/images/MenuArrow-15.png Binary files differ. diff --git a/unpacked/extensions/MathEvents.js b/unpacked/extensions/MathEvents.js @@ -440,8 +440,10 @@ // Preload images so they show up with the menu // getImages: function () { - var menu = new Image(); - menu.src = CONFIG.button.src; + if (SETTINGS.discoverable) { + var menu = new Image(); + menu.src = CONFIG.button.src; + } } };