remove print statements
This commit is contained in:
parent
84e7e794f7
commit
21f703c6c4
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ Ox.Button = function(options, self) {
|
||||||
|
|
||||||
if (Ox.isArray(options.tooltip)) {
|
if (Ox.isArray(options.tooltip)) {
|
||||||
self.options.tooltip = options.tooltip;
|
self.options.tooltip = options.tooltip;
|
||||||
Ox.print('TOOLTIP', self.options.tooltip);
|
//Ox.print('TOOLTIP', self.options.tooltip);
|
||||||
that.$tooltip.options({
|
that.$tooltip.options({
|
||||||
title: self.options.tooltip[self.value]
|
title: self.options.tooltip[self.value]
|
||||||
});
|
});
|
||||||
|
@ -145,7 +145,7 @@ Ox.Button = function(options, self) {
|
||||||
that.toggle = function() {
|
that.toggle = function() {
|
||||||
if (self.options.values.length) {
|
if (self.options.values.length) {
|
||||||
self.value = 1 - Ox.getPositionById(self.options.values, self.options.value);
|
self.value = 1 - Ox.getPositionById(self.options.values, self.options.value);
|
||||||
Ox.print('S:O:', self.options, self.value)
|
//Ox.print('S:O:', self.options, self.value)
|
||||||
self.options.title = self.options.values[self.value].title;
|
self.options.title = self.options.values[self.value].title;
|
||||||
self.options.value = self.options.values[self.value].id;
|
self.options.value = self.options.values[self.value].id;
|
||||||
setTitle();
|
setTitle();
|
||||||
|
|
Loading…
Reference in a new issue