try to get rid of vertical scroll
This commit is contained in:
@@ -4187,7 +4187,16 @@ define([
|
||||
}
|
||||
getProperties(el, function (e, $prop) {
|
||||
if (e) { return void logError(e); }
|
||||
UI.alert($prop[0], undefined, true);
|
||||
var modal = UI.dialog.customModal($prop[0], {
|
||||
buttons: [{
|
||||
className: 'secondary',
|
||||
name: Messages.okButton,
|
||||
onClick: function () {},
|
||||
keys: [13]
|
||||
}],
|
||||
onClose: config.onClose,
|
||||
});
|
||||
UI.openCustomModal(modal);
|
||||
});
|
||||
}
|
||||
else if ($this.hasClass("cp-app-drive-context-hashtag")) {
|
||||
|
||||
@@ -533,7 +533,7 @@ MessengerUI, Messages) {
|
||||
Common.getSframeChannel().event('EV_SHARE_OPEN', {
|
||||
hidden: true
|
||||
});
|
||||
$shareBlock.ready(function () { // XXX temporary open share modal on load
|
||||
$shareBlock.click(function () {
|
||||
var title = (config.title && config.title.getTitle && config.title.getTitle())
|
||||
|| (config.title && config.title.defaultName)
|
||||
|| "";
|
||||
|
||||
Reference in New Issue
Block a user