summaryrefslogtreecommitdiff
path: root/www/lib/videogular/videogular.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-09-27 11:39:30 -0400
committerPliable Pixels <pliablepixels@gmail.com>2017-09-27 11:39:30 -0400
commite18708f10b04455be151a5a799f0109c34f20a25 (patch)
tree9e4559ef0fff8b366474e7768308ddca1e32268a /www/lib/videogular/videogular.js
parent97a1cb3ae199c7b5455dcba0001efd5b4c32040a (diff)
package updates to set up bower correctly #535
Diffstat (limited to 'www/lib/videogular/videogular.js')
-rw-r--r--www/lib/videogular/videogular.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/www/lib/videogular/videogular.js b/www/lib/videogular/videogular.js
index 105d0463..1a29b398 100644
--- a/www/lib/videogular/videogular.js
+++ b/www/lib/videogular/videogular.js
@@ -960,13 +960,8 @@ angular.module("com.2fdevs.videogular")
return API.playsInline;
},
function (newValue, oldValue) {
- if (newValue) {
- API.mediaElement.attr("webkit-playsinline", "");
- API.mediaElement.attr("playsinline", "");
- } else {
- API.mediaElement.removeAttr("webkit-playsinline");
- API.mediaElement.removeAttr("playsinline");
- }
+ if (newValue) API.mediaElement.attr("webkit-playsinline", "");
+ else API.mediaElement.removeAttr("webkit-playsinline");
}
);