summaryrefslogtreecommitdiff
path: root/public/assets/js/app.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-03-30 13:59:18 -0400
committerJules Laplace <jules@okfoc.us>2016-03-30 13:59:18 -0400
commit4f3eefceeabaea9b8610338b4cc5b80adbdd4e4a (patch)
tree0d56748e89182b98747dabb3181ab4093bd01d2e /public/assets/js/app.js
parentee352086ea4d61b08b730e9b78858a5750455d6a (diff)
quirks if there is no brief
Diffstat (limited to 'public/assets/js/app.js')
-rw-r--r--public/assets/js/app.js19
1 files changed, 12 insertions, 7 deletions
diff --git a/public/assets/js/app.js b/public/assets/js/app.js
index fa5dafe..3476d44 100644
--- a/public/assets/js/app.js
+++ b/public/assets/js/app.js
@@ -84,15 +84,20 @@ var app = (function() {
}
$(".cell, .top, .previous, .next, .flickity-viewport", this).css({ 'height': height })
var cellCount = $(this).find(".cell").length
- if (cellCount == 0) {
- console.log($(this).data("id"), "NONE")
- $(".bottom", this).css({ 'top': height + 17 })
- }
- else if (cellCount == 1) {
- $(".bottom", this).css({ 'top': height + 13 })
+ if ($.browser.mozilla) {
+ $(".bottom", this).css({ 'top': height + 20 })
}
else {
- $(".bottom", this).css({ 'top': height + 19 })
+ if (cellCount == 0) {
+ console.log($(this).data("id"), "NONE")
+ $(".bottom", this).css({ 'top': height + 17 })
+ }
+ else if (cellCount == 1) {
+ $(".bottom", this).css({ 'top': height + 20 })
+ }
+ else {
+ $(".bottom", this).css({ 'top': height + 19 })
+ }
}
})
}