Add text in the drive's share button for consistency
parent
7a93927068
commit
38daf4676c
|
@ -1892,9 +1892,11 @@ define([
|
|||
|
||||
var createShareButton = function (id, $container) {
|
||||
var $shareBlock = $('<button>', {
|
||||
'class': 'fa fa-shhare-alt cp-toolbar-share-button',
|
||||
'class': 'cp-toolbar-share-button',
|
||||
title: Messages.shareButton
|
||||
});
|
||||
var $icon = $sharedIcon.clone().appendTo($shareBlock);
|
||||
var $text = $('<span>').text(Messages.shareButton).appendTo($shareBlock);
|
||||
var data = manager.getSharedFolderData(id);
|
||||
var parsed = Hash.parsePadUrl(data.href);
|
||||
if (!parsed || !parsed.hash) { return void console.error("Invalid href: "+data.href); }
|
||||
|
|
Loading…
Reference in New Issue