Skip to content

Loading…

fix unmatch name of photo selector #41

Merged
merged 1 commit into from

2 participants

@senosa

HTMLとjsとで写真選択用input要素のnameが一致しておらず、動作していないのを直しました。

@machu machu merged commit 56e97ec into tdiary:master

1 check passed

Details default The Travis build passed
@machu
tDiary member

ありがとうございます。
手元の環境ではたまたま動いていたようで、気がつきませんでした。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 30, 2012
  1. @senosa
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/flickr.js
View
2 js/flickr.js
@@ -39,7 +39,7 @@ $(function() {
.attr({id: photo.id, src: src, title: photo.title})
.css({margin: "2px", border: "1px solid #999", cursor: "pointer"})
.click(function(event) {
- var size = $('input[@name=flickr_to_blog_photo_size]:checked').val();
+ var size = $('input[name=flickr_photo_size]:checked').val();
var tag = $.makePluginTag("flickr '" + event.target.id + "', '" + size + "'");
$('#body').insertAtCaret(tag);
})
Something went wrong with that request. Please try again.