fix variable redefinition
This commit is contained in:
parent
0e7eeb285c
commit
f2672d587a
@ -155,7 +155,7 @@ define([
|
|||||||
// stopPropagation because the event would be cancelled by the dropdown menus
|
// stopPropagation because the event would be cancelled by the dropdown menus
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
var $label = $('<label>').text(' / '+ states.length).appendTo($nav);
|
var $label2 = $('<label>').text(' / '+ states.length).appendTo($nav);
|
||||||
$('<br>').appendTo($nav);
|
$('<br>').appendTo($nav);
|
||||||
var $close = $('<button>', {
|
var $close = $('<button>', {
|
||||||
'class':'closeHistory',
|
'class':'closeHistory',
|
||||||
@ -169,7 +169,7 @@ define([
|
|||||||
onUpdate = function () {
|
onUpdate = function () {
|
||||||
$cur.attr('max', states.length);
|
$cur.attr('max', states.length);
|
||||||
$cur.val(c+1);
|
$cur.val(c+1);
|
||||||
$label.text(' / ' + states.length);
|
$label2.text(' / ' + states.length);
|
||||||
};
|
};
|
||||||
|
|
||||||
var close = function () {
|
var close = function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user