jsmart icon indicating copy to clipboard operation
jsmart copied to clipboard

Demo page doesn't work out of the box

Open RedShift1 opened this issue 8 years ago • 0 comments

https://jsfiddle.net/miroshnikov/6tfz9p3z/1/

This line (27) doesn't work: var res = document.getElementById('test_tpl').innerHTML.fetch(data);

In console:

VM78:75 Uncaught TypeError: document.getElementById(...).innerHTML.fetch is not a function
    at window.onload (VM78:75)

When commented out, the demo works. Browser: Chrome Version 60.0.3112.101 (Official Build) (64-bit)

RedShift1 avatar Aug 24 '17 06:08 RedShift1