From 1d26e46a5ac466d912fea6fbd08a7f5ac2b3a1c2 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Fri, 31 Oct 2014 18:50:42 +0300 Subject: [PATCH] Improved audio player directive --- app/js/directives.js | 5 ----- app/partials/desktop/message.html | 2 +- app/partials/desktop/message_attach_audio.html | 3 --- app/partials/mobile/message.html | 4 ++-- app/partials/mobile/message_attach_audio.html | 3 --- 5 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 app/partials/desktop/message_attach_audio.html delete mode 100644 app/partials/mobile/message_attach_audio.html diff --git a/app/js/directives.js b/app/js/directives.js index 21c6439e..0078904f 100644 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -203,11 +203,6 @@ angular.module('myApp.directives', ['myApp.filters']) } }; }) - .directive('myMessageAudio', function() { - return { - templateUrl: templateUrl('message_attach_audio') - }; - }) .directive('myMessageMap', function() { return { templateUrl: templateUrl('message_attach_map') diff --git a/app/partials/desktop/message.html b/app/partials/desktop/message.html index c854165c..b24250b8 100644 --- a/app/partials/desktop/message.html +++ b/app/partials/desktop/message.html @@ -53,7 +53,7 @@
-
+
diff --git a/app/partials/desktop/message_attach_audio.html b/app/partials/desktop/message_attach_audio.html deleted file mode 100644 index 14982b4f..00000000 --- a/app/partials/desktop/message_attach_audio.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
-
diff --git a/app/partials/mobile/message.html b/app/partials/mobile/message.html index 8a3197c6..1be7c686 100644 --- a/app/partials/mobile/message.html +++ b/app/partials/mobile/message.html @@ -42,8 +42,8 @@
-
-
+
+
diff --git a/app/partials/mobile/message_attach_audio.html b/app/partials/mobile/message_attach_audio.html deleted file mode 100644 index 14982b4f..00000000 --- a/app/partials/mobile/message_attach_audio.html +++ /dev/null @@ -1,3 +0,0 @@ -
-
-