Fix some tabs.
This commit is contained in:
parent
6ae725eace
commit
8987f32d9d
1 changed files with 4 additions and 4 deletions
|
@ -368,8 +368,8 @@ ImageHistoryTree.prototype.setTag_ = function(tagName) {
|
||||||
|
|
||||||
// Update the state of each existing node to no longer be highlighted.
|
// Update the state of each existing node to no longer be highlighted.
|
||||||
if (this.currentImage_) {
|
if (this.currentImage_) {
|
||||||
var currentNode = imageByDBID[this.currentImage_.dbid];
|
var currentNode = imageByDBID[this.currentImage_.dbid];
|
||||||
this.markPath_(currentNode, false);
|
this.markPath_(currentNode, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find the new current image (if any).
|
// Find the new current image (if any).
|
||||||
|
@ -379,8 +379,8 @@ ImageHistoryTree.prototype.setTag_ = function(tagName) {
|
||||||
|
|
||||||
// Update the state of the new node path.
|
// Update the state of the new node path.
|
||||||
if (this.currentImage_) {
|
if (this.currentImage_) {
|
||||||
var currentNode = imageByDBID[this.currentImage_.dbid];
|
var currentNode = imageByDBID[this.currentImage_.dbid];
|
||||||
this.markPath_(currentNode, true);
|
this.markPath_(currentNode, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure that the children are in the correct order.
|
// Ensure that the children are in the correct order.
|
||||||
|
|
Reference in a new issue