divide embed section from share section.

This commit is contained in:
Saman Bemel-Benrud 2013-07-30 12:58:47 -04:00 committed by John Firebaugh
parent f17304e8ed
commit c47b417f3e

View file

@ -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)