static/kelmu.editor.js
function() {
      var elem = $(this);
      var data = window.kelmu.data[id];
      data.selectedElementNumber = parseInt(elem.attr('data-annotation'), 10);
      var elemData = data.definitions['step' + data.stepNumber][data.subStepNumber][data.selectedElementNumber];

      if (elemData.rotate) {
        elem.css('transform', 'none');
        elem.css('moz-transform', 'none');
        elem.css('webkit-transform', 'none');
        elem.css('ms-transform', 'none');
      }
    }
function() {
      var elem = $(this);
      var data = window.kelmu.data[id];
      data.selectedElementNumber = parseInt(elem.attr('data-annotation'), 10);
      var elemData = data.definitions['step' + data.stepNumber][data.subStepNumber][data.selectedElementNumber];

      if (elemData.rotate) {
        elem.css('transform', 'none');
        elem.css('moz-transform', 'none');
        elem.css('webkit-transform', 'none');
        elem.css('ms-transform', 'none');
      }
    }
function ( ) { var elem = $ ( this ) ; var data = window . kelmu . data [ id ] ; data . selectedElementNumber = parseInt ( elem . attr ( 'data-annotation' ) , 10 ) ; var elemData = data . definitions [ 'step' + data . stepNumber ] [ data . subStepNumber ] [ data . selectedElementNumber ] ; if ( elemData . rotate ) { elem . css ( 'transform' , 'none' ) ; elem . css ( 'moz-transform' , 'none' ) ; elem . css ( 'webkit-transform' , 'none' ) ; elem . css ( 'ms-transform' , 'none' ) ; } }
Clears the CSS rotation of an element. The function should be called
so that `this` referes to the element.
Clears the CSS rotation of an element . The function should be called so that this referes to the element .