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>')
|
$('<h4>')
|
||||||
.text(I18n.t('javascripts.share.title')));
|
.text(I18n.t('javascripts.share.title')));
|
||||||
|
|
||||||
// Link / Embed
|
// Link
|
||||||
|
|
||||||
var $linkSection = $('<div>')
|
var $linkSection = $('<div>')
|
||||||
.attr('class', 'section share-link')
|
.attr('class', 'section share-link')
|
||||||
|
@ -105,6 +105,16 @@ L.OSM.share = function (options) {
|
||||||
.attr('type', 'text')
|
.attr('type', 'text')
|
||||||
.on('click', select));
|
.on('click', select));
|
||||||
|
|
||||||
|
// Embed
|
||||||
|
|
||||||
|
var $embedSection = $('<div>')
|
||||||
|
.attr('class', 'section share-embed')
|
||||||
|
.appendTo($ui);
|
||||||
|
|
||||||
|
var $form = $('<form>')
|
||||||
|
.attr('class', 'standard-form')
|
||||||
|
.appendTo($embedSection);
|
||||||
|
|
||||||
$('<div>')
|
$('<div>')
|
||||||
.attr('class', 'form-row')
|
.attr('class', 'form-row')
|
||||||
.appendTo($form)
|
.appendTo($form)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue