comparison core.js @ 1633:29fafd5c2f92

Bug #1235: Slider, slider objects and scale markings are adjusted on window resize.
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Wed, 27 May 2015 11:49:20 +0100
parents 91a75ec7a7c0
children 9c09cb530ec1
comparison
equal deleted inserted replaced
1632:7c4b0de2d085 1633:29fafd5c2f92
261 css.href = 'ape.css'; 261 css.href = 'ape.css';
262 262
263 document.getElementsByTagName("head")[0].appendChild(css); 263 document.getElementsByTagName("head")[0].appendChild(css);
264 } 264 }
265 document.getElementsByTagName("head")[0].appendChild(interfaceJS); 265 document.getElementsByTagName("head")[0].appendChild(interfaceJS);
266
267 // Define window callbacks for interface
268 window.onresize = function(event){resizeWindow(event);};
266 } 269 }
267 270
268 function createProjectSave(destURL) { 271 function createProjectSave(destURL) {
269 // Save the data from interface into XML and send to destURL 272 // Save the data from interface into XML and send to destURL
270 // If destURL is null then download XML in client 273 // If destURL is null then download XML in client