mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
10 lines
272 B
CoffeeScript
10 lines
272 B
CoffeeScript
define [
|
|
"base"
|
|
"ace/ace"
|
|
], (App) ->
|
|
App.controller "TestControlsController", ($scope) ->
|
|
|
|
$scope.richText = () ->
|
|
current = window.location.toString()
|
|
target = "#{current}#{if window.location.search then '&' else '?'}rt=true"
|
|
window.location.href = target
|