summaryrefslogtreecommitdiff
path: root/public/assets/javascripts/ui/editor/WallpaperPicker.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-27 11:47:06 -0400
committerJules Laplace <jules@okfoc.us>2014-10-27 11:47:06 -0400
commit7a64a9fef46ddd1180dfa00fddd363b7814e381d (patch)
treea0090b68b81652f7915db5ee52d4540bf3d97c81 /public/assets/javascripts/ui/editor/WallpaperPicker.js
parent30acfabe90d189e067949b0a806682eb5b3ef3a6 (diff)
hide preset underline if u modify something
Diffstat (limited to 'public/assets/javascripts/ui/editor/WallpaperPicker.js')
-rw-r--r--public/assets/javascripts/ui/editor/WallpaperPicker.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/assets/javascripts/ui/editor/WallpaperPicker.js b/public/assets/javascripts/ui/editor/WallpaperPicker.js
index 2d60f11..d7d666c 100644
--- a/public/assets/javascripts/ui/editor/WallpaperPicker.js
+++ b/public/assets/javascripts/ui/editor/WallpaperPicker.js
@@ -21,7 +21,6 @@ var WallpaperPicker = UploadView.extend({
this.__super__.initialize.call(this)
this.$swatches = this.$(".swatches")
this.$remove = this.$(".wallpaperRemove")
- this.$remove.hide()
this.$url = this.$(".url")
@@ -108,7 +107,7 @@ var WallpaperPicker = UploadView.extend({
app.tube('cancel-wallpaper')
var $swatch = $(e.currentTarget)
this.follow( e, $swatch.css('background-image') )
- this.$remove.show()
+ this.parent.presets.modified = true
},
remove: function(e){