some tweeking (need to go easy on the box-shadows ;) )...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-02-28 03:44:43 +04:00
parent 7728ef1a50
commit 39fefd9611

View File

@ -185,13 +185,18 @@ $(function(){
.clone()
.appendTo($('.container .preview'))
.click(function(){
alert(this.outerHTML)
$('.container').trigger('templateSelected', this)
return false
})
$('.container .preview')
.css('display', 'block')
})
$('.container')
.on('templateSelected', function(evt, elem){
alert(elem.outerHTML)
})
})