mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-04 22:27:10 -04:00
added export qr code (js)
This commit is contained in:
parent
30a49b2151
commit
f6490d7153
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ var padeditbar = (function()
|
|||
else if (cmd == 'embed')
|
||||
{
|
||||
var padurl = document.location;
|
||||
$('#embedimg').attr("src","https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=" + padurl);
|
||||
$('#embedinput').val("<iframe src='" + padurl + "' width=600 height=400>");
|
||||
self.toogleDropDown("embed");
|
||||
$('#embedinput').focus().select();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue