Ticket #1178: shutter_reloaded_close.patch
| File shutter_reloaded_close.patch, 769 bytes (added by snarfed, 22 months ago) |
|---|
-
shutter-reloaded.dev.js
7 7 else {oldonld = window.onload; window.onload = function(){if(oldonld){oldonld();};fn();}}; 8 8 } 9 9 10 // Escape closes shutter. 11 document['onkeypress'] = function(e) { 12 if (e.keyCode == 27) shutterReloaded.hideShutter(); 13 } 14 10 15 shutterReloaded = { 11 16 12 17 I : function (a) { … … 95 100 if ( ! (S = t.I('shShutter')) ) { 96 101 S = document.createElement('div'); 97 102 S.setAttribute('id','shShutter'); 103 S.setAttribute('onclick', 'shutterReloaded.hideShutter();return false;'); 98 104 document.getElementsByTagName('body')[0].appendChild(S); 99 105 t.hideTags(); 100 106 }
