fix findbar height calculation

pull/518/head
nightwing 2018-08-09 15:04:56 +04:00
rodzic cc906be318
commit 79a69bd9f7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -479,11 +479,11 @@ define(function(require, exports, module) {
});
function show(amlNode, callback) {
if (!amlNode)
if (!amlNode || !plugin.hasTheme)
return callback();
anims.animateSplitBoxNode(amlNode, {
height: amlNode.$ext.offsetHeight + "px",
height: amlNode.$ext.scrollHeight + "px",
duration: 0.2,
timingFunction: "cubic-bezier(.10, .10, .25, .90)"
}, function() {