Commit c944ee5a authored by Ujvari Gergely's avatar Ujvari Gergely Committed by Randall Leeds

Share control changes:

- Set width to 100% for input
- Removed clipboard icon
- Using slideToggle()
- Repositioned to be under the magiccontrols.
parent 35790c0a
......@@ -667,9 +667,12 @@ blockquote {
}
.share-dialog {
display: block;
display: none;
.icon-input {
position: relative;
.share-text {
width: 100%;
}
}
}
......
......@@ -278,10 +278,10 @@ class Annotation
if annotation? and drafts.contains annotation
$scope.editing = true
$scope.shared = false
$scope.share = ->
$scope.shared = not $scope.shared
$element.find('.share-dialog').slideToggle()
if $scope.shared and not $scope.shared_link
$scope.shared_link = window.location.host + '/a/' + $scope.model.$modelValue.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment