Sha256: af4a63250a647225433ce1bff3fff4ec789d40adca0f0d34c78a61846e3ec2bb

Contents?: true

Size: 204 Bytes

Versions: 23

Compression:

Stored size: 204 Bytes

Contents

ObserveJS.bind 'Posts.New', class
  loaded: =>
    for el in @element().querySelectorAll('.transparent')
      el.classList.remove('transparent')

    @element().querySelector('input[type=text]').focus()

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
ecrire-0.31.2 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.31.1 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.31.0 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.30.3 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.30.2 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.30.1 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.30.0 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.29.0 lib/ecrire/app/assets/javascripts/admin/posts/new.coffee
ecrire-0.28.3 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.28.2 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.28.1 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.28.0 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.27.0 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.26.3 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.26.2 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.26.1 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.26.0 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.25.2 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.25.1 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee
ecrire-0.25.0 lib/ecrire/app/assets/javascripts/admin/posts/new.js.coffee