fix #2299 (In document viewer dialog, previous/next buttons don't appear/disappear)

This commit is contained in:
rolux 2014-02-14 05:52:56 +00:00
parent da53817a20
commit 02f00bd909

View file

@ -211,6 +211,7 @@ pandora.ui.documentDialog = function(options) {
items = options.items;
item = items[options.index];
setTitle();
$selectButton[items.length > 1 ? 'show' : 'hide']();
setContent();
};