diff options
author | Dan Gudmundsson <[email protected]> | 2015-01-30 15:56:28 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-03-20 15:28:53 +0100 |
commit | 9cf2be0481f26e3251fdb9de0a5d5901f4faee83 (patch) | |
tree | 73cc3e38a86a708888a38094eae5ba106f6fbe32 /lib/observer/src/observer_html_lib.erl | |
parent | 4deb4dbc453318bcdf2f6f160cdb219fb31f7926 (diff) | |
download | otp-9cf2be0481f26e3251fdb9de0a5d5901f4faee83.tar.gz otp-9cf2be0481f26e3251fdb9de0a5d5901f4faee83.tar.bz2 otp-9cf2be0481f26e3251fdb9de0a5d5901f4faee83.zip |
Replace usage of erlang:now() with usage of new API
Diffstat (limited to 'lib/observer/src/observer_html_lib.erl')
-rw-r--r-- | lib/observer/src/observer_html_lib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/observer/src/observer_html_lib.erl b/lib/observer/src/observer_html_lib.erl index c279218707..ac750e0bed 100644 --- a/lib/observer/src/observer_html_lib.erl +++ b/lib/observer/src/observer_html_lib.erl @@ -151,7 +151,7 @@ all_or_expand(_Tab,Term,Str,false) href_proc_port(lists:flatten(Str)); all_or_expand(Tab,Term,Preview,true) when not is_binary(Term) -> - Key = {Key1,Key2,Key3} = now(), + Key = {Key1,Key2,Key3} = {erlang:unique_integer([positive]),1,2}, ets:insert(Tab,{Key,Term}), [href_proc_port(lists:flatten(Preview), false), $\n, href("TARGET=\"expanded\"", |