diff --git a/public/scripts/controllers/note-controller.js b/public/scripts/controllers/note-controller.js index 1c1bd78..bea1a39 100644 --- a/public/scripts/controllers/note-controller.js +++ b/public/scripts/controllers/note-controller.js @@ -108,7 +108,7 @@ app.controller('noteCtr', ['$scope', '$state', '$stateParams', '$filter', '$wind $scope.copy = function(content) { var showContent = content.length >= 180 ? content.substr(0, 180) + '...' : content; - clipboard.copy(showContent).then( + clipboard.copy(content).then( function() { toastr.success(showContent + '
已复制到您的剪切板', "提示"); }, diff --git a/public/views/note.html b/public/views/note.html index 5a7d545..469c527 100644 --- a/public/views/note.html +++ b/public/views/note.html @@ -12,7 +12,7 @@
- +