Removing unused js

This commit is contained in:
Dan Hansen & Sarah Mei 2010-11-25 21:44:57 -08:00
parent 9a828f5215
commit 84face159d
3 changed files with 0 additions and 26 deletions

View file

@ -12,7 +12,6 @@ javascripts:
- public/javascripts/vendor/fancybox/jquery.fancybox-1.3.1.pack.js
- public/javascripts/vendor/fileuploader.js
- public/javascripts/view.js
- public/javascripts/image-picker.js
- public/javascripts/stream.js
mobile:
- public/javascripts/vendor/jquery144.min.js
@ -24,9 +23,6 @@ javascripts:
- public/javascripts/vendor/mailchimp/jquery.form.js
- public/javascripts/vendor/mailchimp/jquery.validate.js
- public/javascripts/vendor/mailchimp/jquery126.min.js
photo:
- public/javascripts/photo.js
- public/javascripts/image-picker.js
aspects:
- public/javascripts/vendor/jquery-ui-1.8.6.custom.min.js
- public/javascripts/aspect-edit.js

View file

@ -1,16 +0,0 @@
/* Copyright (c) 2010, Diaspora Inc. This file is
* licensed under the Affero General Public License version 3 or later. See
* the COPYRIGHT file.
*/
$(document).ready(function() {
$('div#image_picker div.small_photo').click( function() {
var $this = $(this);
document.getElementById("image_url_field").value = this.id;
$('div#image_picker div.small_photo.selected').removeClass('selected')
.children("input[type='checkbox']").attr("checked", false);
$this.addClass('selected')
.children("input[type='checkbox']").attr("checked", true);
});
});

View file

@ -1,6 +0,0 @@
/* Copyright (c) 2010, Diaspora Inc. This file is
* licensed under the Affero General Public License version 3 or later. See
* the COPYRIGHT file.
*/