summaryrefslogtreecommitdiffabout
path: root/content
authorMichael Krelin <hacker@klever.net>2006-10-09 19:03:13 (UTC)
committer Michael Krelin <hacker@klever.net>2006-10-09 19:03:13 (UTC)
commit55ea41380cc2bcbaebf8cb0a2c1ee401b79f5016 (patch) (side-by-side diff)
tree03a2704067dc5dea4c5c10a8ab0401d6b1f74656 /content
parentda97ac566cb06a583bd8b84b9e1275e37ea0a3ca (diff)
downloadfireflix-55ea41380cc2bcbaebf8cb0a2c1ee401b79f5016.zip
fireflix-55ea41380cc2bcbaebf8cb0a2c1ee401b79f5016.tar.gz
fireflix-55ea41380cc2bcbaebf8cb0a2c1ee401b79f5016.tar.bz2
html generation was mistakenly reversed
git-svn-id: http://svn.klever.net/kin/fireflix/trunk@189 fe716a7a-6dde-0310-88d9-d003556173a8
Diffstat (limited to 'content') (more/less context) (ignore whitespace changes)
-rw-r--r--content/fireflix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fireflix.js b/content/fireflix.js
index 63a4118..85b4d39 100644
--- a/content/fireflix.js
+++ b/content/fireflix.js
@@ -863,33 +863,33 @@ var fireflix = {
this.fireflix.openTab(this.fireflix.flickr.make_photo_url(p,'p'));
}
},
photo_html: function(p,i,l) {
// TODO: add alt/title when possible
var rv =
'<a href="'+this.flickr.make_photo_url(p,l)+'">' +
'<img src="'+this.flickr.make_photo_url(p,i)+'" />'+
'</a>';
return rv;
},
build_html: function(photos,uti,utl) {
var rv = '';
for(var i in photos) {
var p = photos[i];
- rv += this.photo_html(p,utl,uti)+'\n';
+ rv += this.photo_html(p,uti,utl)+'\n';
}
return rv;
},
popup_content: function(s) {
window.openDialog(
"chrome://fireflix/content/generated-content.xul",
null, "dialog,chrome", this, s );
},
copy_to_clipboard: function(s) {
var ch = Components.classes["@mozilla.org/widget/clipboardhelper;1"]
.getService(Components.interfaces.nsIClipboardHelper);
ch.copyString(s);
},
openTab: function(l) {
var wm = Components.classes['@mozilla.org/appshell/window-mediator;1'].getService(