Explorar o código

amber.js: rename '#jtalk' to '#amber' in the toggleIDE() function

mkroehnert %!s(int64=12) %!d(string=hai) anos
pai
achega
34af31e807
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      js/amber.js

+ 2 - 2
js/amber.js

@@ -22,9 +22,9 @@ amber = (function() {
     var nocache = '';
 
 	that.toggleIDE = function() {
-		if ($('#jtalk').length == 0) {
+		if ($('#amber').length == 0) {
 			smalltalk.Browser._open();
-		} else if ($('#jtalk').is(':visible')) {
+		} else if ($('#amber').is(':visible')) {
 			smalltalk.TabManager._current()._close();
 		} else {
 			smalltalk.TabManager._current()._open();