corrade-nucleus-nucleons – Diff between revs 41 and 42

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 41 Rev 42
Line 148... Line 148...
148 var cookie = Cookies.get('window-manager-windows'); 148 var cookie = Cookies.get('window-manager-windows');
149 if(cookie) 149 if(cookie)
150 states = JSON.parse(cookie); 150 states = JSON.parse(cookie);
Line 151... Line 151...
151 151
152 $('.window-manager-window').each(function(i, wm) { -  
153 if(typeof $(wm).data('target') === 'undefined') -  
154 return; -  
155 152 $('.window-manager-window').each(function(i, wm) {
156 states[$(wm).data('target')] = { 153 states[$(wm).data('target')] = {
157 x: $(wm).data('x'), 154 x: $(wm).data('x'),
158 y: $(wm).data('y') 155 y: $(wm).data('y')
159 }; 156 };
Line 199... Line 196...
199 var cookie = Cookies.get('window-manager-icons'); 196 var cookie = Cookies.get('window-manager-icons');
200 if(cookie) 197 if(cookie)
201 states = JSON.parse(cookie); 198 states = JSON.parse(cookie);
Line 202... Line 199...
202 199
203 $('.window-manager-icon').each(function(i, wm) { -  
204 if(typeof $(wm).data('target') === 'undefined') -  
205 return; -  
206 200 $('.window-manager-icon').each(function(i, wm) {
207 states[$(wm).data('target')] = { 201 states[$(wm).data('target')] = {
208 x: $(wm).data('x'), 202 x: $(wm).data('x'),
209 y: $(wm).data('y') 203 y: $(wm).data('y')
210 }; 204 };