attempt to move onClick away from HTML.. This is required

This commit is contained in:
johnyma22 2012-10-04 21:16:58 +01:00
parent 7eecfa17b7
commit 5c54b2c681
2 changed files with 5 additions and 1 deletions

View file

@ -384,6 +384,10 @@ function handshake()
});
// Bind the colorpicker
var fb = $('#colorpicker').farbtastic({ callback: '#mycolorpickerpreview', width: 220});
// Bind the read only button
$('#readonlyinput').on('click',function(){
padeditbar.setEmbedLinks();
});
}
var pad = {