diff --git a/Makefile b/Makefile index 3b20db1..b2759b1 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,7 @@ appstore: distclean depsmin --exclude=vendor/bin \ --exclude=node_modules \ --exclude=js/templates \ + --exclude=templates/fake.php \ --exclude=translation* \ $(project_dir) $(sign_dir) @echo "Signing…" diff --git a/js/script.js b/js/script.js index b1e1762..f628049 100644 --- a/js/script.js +++ b/js/script.js @@ -739,12 +739,12 @@ View.prototype = { return; } sAttachts.parent().css('height', (500/sAttachts.length) + 'px'); - sAttachts.first().children().first().css('border-top-left-radius', '8px'); + sAttachts.first().children().first().children().css('border-top-left-radius', '8px'); sAttachts.each(function(index) { $(this).css('width', (100/sAttachts.length) + '%'); $(this).css('left', (100/sAttachts.length)*index + '%'); }); - sAttachts.last().children().first().css('border-top-right-radius', '8px'); + sAttachts.last().children().first().children().css('border-top-right-radius', '8px'); }, _resizeAttachtsGrid: function() { var attachtsgrids = $('#notes-grid-div .note-attachts'); diff --git a/js/templates/notes.handlebars b/js/templates/notes.handlebars index ba3a313..a05d93e 100644 --- a/js/templates/notes.handlebars +++ b/js/templates/notes.handlebars @@ -91,7 +91,7 @@ -->