mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-01 12:40:45 -04:00
Fix a javascript error that was breaking IE, and localize
ADD_A_COMMENT otherwise ui.init.js bombs. Signed-off-by: <unostar@danalan.info>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
},
|
||||
controls: {
|
||||
autoHide: 'always',
|
||||
hideDelay: 2000,
|
||||
hideDelay: 2000
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -36,5 +36,8 @@
|
||||
<div><?= p::clean($item->description) ?></div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ADD_A_COMMENT = "<?= t("Add a comment") ?>";
|
||||
</script>
|
||||
<?= $theme->photo_bottom() ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user