summaryrefslogtreecommitdiff
path: root/modules/gallery/js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-06-14 07:44:17 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-06-14 07:44:17 -0700
commit1c5264d7f5a2914f3ae0cb1208b2bc2810b090ec (patch)
tree4b6751a0daf69ac9a55fb2c1bb05a60fbc8d6b3e /modules/gallery/js
parent821d3f7854d76922b53df7e523eeaa8d4dca8c7b (diff)
parent793780daa7665f7f86994235c4263fcb63554eb8 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/js')
-rw-r--r--modules/gallery/js/l10n_client.js22
1 files changed, 9 insertions, 13 deletions
diff --git a/modules/gallery/js/l10n_client.js b/modules/gallery/js/l10n_client.js
index a1170e2d..a1b970e7 100644
--- a/modules/gallery/js/l10n_client.js
+++ b/modules/gallery/js/l10n_client.js
@@ -60,25 +60,21 @@ jQuery.extend(Gallery, {
$('#l10n-client').height('22em').removeClass('hidden');
//$('#l10n-client').slideUp();
$('#g-minimize-l10n').text("_");
- /*
- * This CSS clashes with Gallery's CSS, probably due to
- * YUI's grid / floats.
- if(!$.browser.msie) {
- $('body').css('border-bottom', '22em solid #fff');
- }
- */
+ // This CSS clashes with Gallery's CSS, probably due to
+ // YUI's grid / floats.
+ // if(!$.browser.msie) {
+ // $('body').css('border-bottom', '22em solid #fff');
+ // }
$.cookie('Gallery_l10n_client', '1', {expires: 7, path: '/'});
break;
case 0:
$('#l10n-client-string-select, #l10n-client-string-editor, #l10n-client .labels .label').hide();
$('#l10n-client').height('2em').addClass('hidden');
// TODO: Localize this message
- $('#g-minimize-l10n').text(MSG_TRANSLATE_TEXT);
- /*
- if(!$.browser.msie) {
- $('body').css('border-bottom', '0px');
- }
- */
+ $('#g-minimize-l10n').text(MSG_TRANSLATE_TEXT);
+ // if(!$.browser.msie) {
+ // $('body').css('border-bottom', '0px');
+ // }
$.cookie('Gallery_l10n_client', '0', {expires: 7, path: '/'});
break;
}