Browse Source

Fixed not cleaned up elements in timeaxis

css_transitions
josdejong 11 years ago
parent
commit
293e54a724
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/component/timeaxis.js

+ 2
- 2
src/component/timeaxis.js View File

@ -381,7 +381,7 @@ TimeAxis.prototype._repaintMeasureChars = function () {
var dom = this.dom, var dom = this.dom,
text; text;
if (!dom.characterMinor) {
if (!dom.measureCharMinor) {
text = document.createTextNode('0'); text = document.createTextNode('0');
var measureCharMinor = document.createElement('DIV'); var measureCharMinor = document.createElement('DIV');
measureCharMinor.className = 'text minor measure'; measureCharMinor.className = 'text minor measure';
@ -391,7 +391,7 @@ TimeAxis.prototype._repaintMeasureChars = function () {
dom.measureCharMinor = measureCharMinor; dom.measureCharMinor = measureCharMinor;
} }
if (!dom.characterMajor) {
if (!dom.measureCharMajor) {
text = document.createTextNode('0'); text = document.createTextNode('0');
var measureCharMajor = document.createElement('DIV'); var measureCharMajor = document.createElement('DIV');
measureCharMajor.className = 'text major measure'; measureCharMajor.className = 'text major measure';

Loading…
Cancel
Save