- Timestamp:
- Oct 17, 2010, 7:15:29 PM (13 years ago)
- Location:
- en/dev/translation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
en/dev/translation/editor.css
r191 r205 109 109 top: 0; 110 110 width: 0; 111 display: none; 111 112 } 112 113 … … 124 125 body .tr-disabled { display: block; } 125 126 127 /* 126 128 #sidebar-tr .tr-disabled h3 { margin: 0; font-size: 100%; } 127 129 #sidebar-tr .tr-disabled p { margin: 5px 0; font-size: 90%; } 128 130 #sidebar-tr .tr-disabled { color: #444;} 129 131 #sidebar-tr .tr-disabled a { opacity: .8; } 132 */ 130 133 131 134 #sidebar-tr .tr-enabled h3 { -
en/dev/translation/editor.js
r191 r205 43 43 44 44 // helper: foobar.click(t29.tr.call(anything, value)); is shorthand for 45 // """.call(function(){ t29.tr.anything(value); });45 // foobar.call(function(){ t29.tr.anything(value); }); 46 46 t29.tr.call = function(f, v){ return function(){ t29.tr[f](v);} }; 47 47 t29.tr.arrow = function() { 48 // update the nice arrow in the sidebar =) 49 t29.tr.sidebar.find(".arrow").css({ "border-bottom-width": (a=Math.floor(t29.tr.sidebar.outerHeight()/2-1)), 50 "border-top-width": a }); 48 // update the nice arrow in the sidebar =) (some timeout for slow startups) 49 setTimeout(function(){ 50 t29.tr.sidebar.find(".arrow").css({ "border-bottom-width": 51 (a=Math.floor(t29.tr.sidebar.outerHeight()/2-1)),"border-top-width": a }).show(); 52 }, 1000); 51 53 }; 52 54
Note: See TracChangeset
for help on using the changeset viewer.