mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 03:00:09 +00:00
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:
parent
7728ef1a50
commit
39fefd9611
@ -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)
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user