diff --git a/lib/features/context-pad/ContextPad.js b/lib/features/context-pad/ContextPad.js index 95150bf76..359f1b45d 100644 --- a/lib/features/context-pad/ContextPad.js +++ b/lib/features/context-pad/ContextPad.js @@ -421,8 +421,8 @@ ContextPad.prototype._createHtml = function(target) { * @return { { html: HTMLElement } } */ ContextPad.prototype.getPad = function(target) { - console.warn(new Error( - 'getPad is deprecated and will be removed in future library versions' + console.warn(new Error(`ContextPad.getPad is deprecated and will be removed in future library versions; +query the DOM directly using \`canvas.getContainer().querySelector('.djs-context-pad');\`` )); let html;