diff --git a/src/main/webapp/resources/js/support/toolPalette.js b/src/main/webapp/resources/js/support/toolPalette.js index 958a2fc..893315d 100644 --- a/src/main/webapp/resources/js/support/toolPalette.js +++ b/src/main/webapp/resources/js/support/toolPalette.js @@ -2,18 +2,14 @@ * 문자열 클립보드 복사 **************************************************************************/ function clipboardCopy(string){ - if(window.isSecureContext){ - navigator.clipboard.writeText(string); - } else { - var textArea = document.createElement("textarea"); - textArea.style.position = "fixed"; - textArea.value = string; - document.body.appendChild(textArea); - textArea.focus(); - textArea.select(); - document.execCommand('copy'); - document.body.removeChild(textArea); - } + var textArea = document.createElement("textarea"); + textArea.style.position = "fixed"; + textArea.value = string; + document.body.appendChild(textArea); + textArea.focus(); + textArea.select(); + document.execCommand('copy'); + document.body.removeChild(textArea); } /**************************************************************************