• Alexander Oleynikov's avatar
    Add setTabWidth function · eba0b5c9
    Alexander Oleynikov authored
    This function finds elements with "js-set-tab-width" class and
    appends to them a "tab-width-N" class (where N is a tab width value
    received from gon.tab_width).
    eba0b5c9
update.js.erb 666 Bytes