mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
cross platform but REALLY MESSY, do not use this as reference its just to show it existing
This commit is contained in:
parent
aa81c4d5cb
commit
4f808defe1
4 changed files with 40 additions and 0 deletions
File diff suppressed because one or more lines are too long
BIN
src/static/css/images/ui-icons_222222_256x240.png
Normal file
BIN
src/static/css/images/ui-icons_222222_256x240.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
|
@ -5248,6 +5248,17 @@ function Ace2Inner(){
|
||||||
if (browser.mozilla) $(root).addClass("mozilla");
|
if (browser.mozilla) $(root).addClass("mozilla");
|
||||||
if (browser.safari) $(root).addClass("safari");
|
if (browser.safari) $(root).addClass("safari");
|
||||||
if (browser.msie) $(root).addClass("msie");
|
if (browser.msie) $(root).addClass("msie");
|
||||||
|
|
||||||
|
// Temporary bodge in listen for events on images -- CAKE
|
||||||
|
$.getScript("../static/js/jquery_ui.js");
|
||||||
|
$(root).on('click', 'img', function(e){
|
||||||
|
top.console.log(e);
|
||||||
|
top.console.log("FUCKKK");
|
||||||
|
$(e.target).resizable({ proxy: 'proxy', aspectRatio: 'preserve' });
|
||||||
|
$(e.target).addClass("resizing");
|
||||||
|
// $(e.target).remove();
|
||||||
|
});
|
||||||
|
|
||||||
if (browser.msie)
|
if (browser.msie)
|
||||||
{
|
{
|
||||||
// cache CSS background images
|
// cache CSS background images
|
||||||
|
@ -5294,6 +5305,13 @@ function Ace2Inner(){
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
top.console.log("listening for click events");
|
||||||
|
$('#innerdocbody').on('hover', 'div', function(){
|
||||||
|
top.console.log("FUCKKK");
|
||||||
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.init = function () {
|
exports.init = function () {
|
||||||
|
|
6
src/static/js/jquery_ui.js
vendored
Normal file
6
src/static/js/jquery_ui.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue