Sha256: 4a5c4154926ef3b0e1256d916a5c65da02d90fceb6ccdac94b31b452c6470dd7

Contents?: true

Size: 364 Bytes

Versions: 1

Compression:

Stored size: 364 Bytes

Contents

$(function(){
  $(".tab-language-switch li").live("click",function(){
    $(".tab-language-switch li").removeClass("active")
    $(this).addClass("active");
    var locale = $(this).data("locale")
    var tab_name = $(this).data("tab")
    $(".tab-content .language-wrap").hide(0)
    $("#"+locale+"_for_"+tab_name).show(0)
    resize_all_tinymce_editors()
  })
})

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lolita-translation-0.5.0 app/assets/javascripts/lolita/translation/application.js