mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-31 20:10:13 +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()
|
.clone()
|
||||||
.appendTo($('.container .preview'))
|
.appendTo($('.container .preview'))
|
||||||
.click(function(){
|
.click(function(){
|
||||||
alert(this.outerHTML)
|
$('.container').trigger('templateSelected', this)
|
||||||
return false
|
return false
|
||||||
})
|
})
|
||||||
$('.container .preview')
|
$('.container .preview')
|
||||||
.css('display', 'block')
|
.css('display', 'block')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
$('.container')
|
||||||
|
.on('templateSelected', function(evt, elem){
|
||||||
|
alert(elem.outerHTML)
|
||||||
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user