Fix preview label issue.

This commit is contained in:
Lars Jung 2015-05-17 16:31:15 +02:00
parent b33599f4f2
commit 86466f072b
3 changed files with 4 additions and 2 deletions

View file

@ -65,6 +65,8 @@ modulejs.define('ext/preview', ['_', '$', 'core/resource', 'core/settings', 'cor
function onEnter() {
setLabels([]);
$('#pv-content').empty();
$('#pv-overlay').stop(true, true).fadeIn(200);
$window.on('keydown', onKeydown);
adjustSize();