Remove the context menu buttons when removing selection

This commit is contained in:
yflory 2017-02-28 15:48:49 +01:00
parent 65202bd619
commit f06196c261

View File

@ -238,6 +238,9 @@ define([
var removeSelected = function () { var removeSelected = function () {
$iframe.find('.selected').removeClass("selected"); $iframe.find('.selected').removeClass("selected");
var $container = $driveToolbar.find('#contextButtonsContainer');
if (!$container.length) { return; }
$container.html('');
}; };
var removeInput = function () { var removeInput = function () {
$iframe.find('li > span:hidden').removeAttr('style'); $iframe.find('li > span:hidden').removeAttr('style');