X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbin%2FCache.java;h=fda04cb0bd362ddba6012d3eb8c56f1f42eaefac;hb=eb630a0993bbc2372735c451b9c8fcbc451d11e7;hp=e20b75d5c8f7151a227c01c4289abd2adc244a96;hpb=367a8c2ae7eec0c665bce0b3995028ecedcf04cd;p=jalview.git diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index e20b75d..fda04cb 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -596,7 +596,13 @@ public class Cache */ public static String getProperty(String key) { - return applicationProperties.getProperty(key); + String prop = applicationProperties.getProperty(key); + if (prop == null && Platform.isJS()) + { + prop = applicationProperties.getProperty(Platform.getUniqueAppletID() + + "_" + JS_PROPERTY_PREFIX + key); + } + return prop; } /**