From 6e7a1936dc123dc46abd62b69cde140e1628a039 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 17 Dec 2014 15:43:43 +0000 Subject: [PATCH] remove timeout and logging --- source/UI/js/Form/Input.js | 6 ++---- source/UI/js/Menu/Menu.js | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/source/UI/js/Form/Input.js b/source/UI/js/Form/Input.js index 31654f43..08901cec 100644 --- a/source/UI/js/Form/Input.js +++ b/source/UI/js/Form/Input.js @@ -488,8 +488,7 @@ Ox.Input = function(options, self) { selected: selected }).showMenu(); if (self.options.autocompleteSelectUpdate) { - Ox.print('A????') - setTimeout(self.$autocompleteMenu.updatePosition, 250); + self.$autocompleteMenu.updatePosition(); } } else { self.$autocompleteMenu @@ -870,8 +869,7 @@ Ox.Input = function(options, self) { change: {value: self.options.value} }); if (self.options.autocompleteSelectUpdate) { - Ox.print('B????') - setTimeout(self.$autocompleteMenu.updatePosition, 250); + self.$autocompleteMenu.updatePosition(); } //} } diff --git a/source/UI/js/Menu/Menu.js b/source/UI/js/Menu/Menu.js index 6f898e33..457aeec0 100644 --- a/source/UI/js/Menu/Menu.js +++ b/source/UI/js/Menu/Menu.js @@ -618,7 +618,6 @@ Ox.Menu = function(options, self) { } else { that.$container.height(menuHeight); } - Ox.print('ltwh????', offset.left, offset.top, width, height) } /*@