Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
クリップ詳細: ダイアログが複数表示されないように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Jan 10, 2014
1 parent 1b977b4 commit 1a3aeea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/views/clips/show.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $clip_dialog = $('#clip_dialog')
if $clip_dialog.length == 0
$clip_dialog = $('<div/>')
else
return if $clip_dialog.is(':visible')
$clip_dialog.removeAttr('id')
$clip_dialog.remove()

Expand Down
1 change: 1 addition & 0 deletions app/views/devise/registrations/new.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $dialog = $('#dialog')
if $dialog.length == 0
$dialog = $('<div/>')
else
return if $dialog.is(':visible')
$dialog.removeAttr('id')
$dialog.remove()

Expand Down

0 comments on commit 1a3aeea

Please sign in to comment.