mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-01-31 11:16:42 +01:00
Clean up colorbox.coffee
This commit is contained in:
parent
5f96ac4e26
commit
effcdbc5cb
1 changed files with 0 additions and 4 deletions
|
@ -17,10 +17,6 @@
|
||||||
# Based on http://stackoverflow.com/questions/14641791/how-to-use-colorbox-with-angular-js
|
# Based on http://stackoverflow.com/questions/14641791/how-to-use-colorbox-with-angular-js
|
||||||
|
|
||||||
angular.module('ponyfm').directive 'colorbox', ->
|
angular.module('ponyfm').directive 'colorbox', ->
|
||||||
{
|
|
||||||
restrict: 'AC'
|
restrict: 'AC'
|
||||||
link: (scope, element, attrs) ->
|
link: (scope, element, attrs) ->
|
||||||
$(element).colorbox({maxWidth:'90%', maxHeight:'90%'})
|
$(element).colorbox({maxWidth:'90%', maxHeight:'90%'})
|
||||||
return
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue