divide embed section from share section.
This commit is contained in:
parent
f17304e8ed
commit
c47b417f3e
1 changed files with 11 additions and 1 deletions
|
@ -34,7 +34,7 @@ L.OSM.share = function (options) {
|
|||
$('<h4>')
|
||||
.text(I18n.t('javascripts.share.title')));
|
||||
|
||||
// Link / Embed
|
||||
// Link
|
||||
|
||||
var $linkSection = $('<div>')
|
||||
.attr('class', 'section share-link')
|
||||
|
@ -105,6 +105,16 @@ L.OSM.share = function (options) {
|
|||
.attr('type', 'text')
|
||||
.on('click', select));
|
||||
|
||||
// Embed
|
||||
|
||||
var $embedSection = $('<div>')
|
||||
.attr('class', 'section share-embed')
|
||||
.appendTo($ui);
|
||||
|
||||
var $form = $('<form>')
|
||||
.attr('class', 'standard-form')
|
||||
.appendTo($embedSection);
|
||||
|
||||
$('<div>')
|
||||
.attr('class', 'form-row')
|
||||
.appendTo($form)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue