Changes

Jump to navigation Jump to search
no edit summary
Line 29: Line 29:  
} );
 
} );
    +
 +
save.on( 'click', function () {
 +
      if (radio.getValue() == "cookie") {
 +
            mw.cookie.set( key.getValue(), value.getValue() );
 +
  }
 +
      else {
 +
            mw.storage.set( key.getValue(), value.getValue() );
 +
  }});
     

Navigation menu