add more config parameters to share menu extension

pull/1/head
ansuz 7 years ago committed by Caleb James DeLisle
parent c31b5aa6c0
commit 05ad38cfe1

@ -499,6 +499,8 @@ define([
if (typeof(Config.customizeShareOptions) === 'function') { if (typeof(Config.customizeShareOptions) === 'function') {
Config.customizeShareOptions(hashes, options, { Config.customizeShareOptions(hashes, options, {
type: 'DEFAULT', type: 'DEFAULT',
origin: origin,
pathname: pathname
}); });
} }
var dropdownConfigShare = { var dropdownConfigShare = {
@ -590,7 +592,9 @@ define([
if (typeof(Config.customizeShareOptions) === 'function') { if (typeof(Config.customizeShareOptions) === 'function') {
Config.customizeShareOptions(hashes, options, { Config.customizeShareOptions(hashes, options, {
type: 'FILE' type: 'FILE',
origin: origin,
pathname: pathname
}); });
} }

Loading…
Cancel
Save