www/js/global.js

changeset 34
a720353fada9
parent 13
b8c3ca152984
child 59
ad28e09e3abd
--- a/www/js/global.js	Sun Aug 19 21:46:56 2018 +0200
+++ b/www/js/global.js	Fri Aug 24 21:53:14 2018 +0200
@@ -20,19 +20,6 @@
  * Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  *****************************************************************************/
 
-function createElements() {
-	$('#aboutWindow').jqxWindow({
-		resizable: true,
-		minWidth: 300,
-		minHeight: 300,
-		theme: theme,
-		autoOpen: false,
-		isModal: true
-	});
-	$('#aboutWindow').jqxWindow('focus');
-}
-
-
 
 function getLocalization() {
 	var localizationobj = {};
@@ -85,12 +72,21 @@
 
 
 $(document).ready(function () {
+	$('#aboutWindow').jqxWindow({
+		resizable: true,
+		minWidth: 300,
+		minHeight: 300,
+		theme: theme,
+		autoOpen: false,
+		isModal: true
+	});
+	$('#aboutWindow').jqxWindow('focus');
+
 	$("#jqxMenu").jqxMenu({
 		width: 1280,
 		height: '30px',
 		theme: theme
 	});
-	createElements();
 	$("#jqxWidget").css('visibility', 'visible');
 });
 

mercurial